Adding custom CSS class in body_class() using Advanced Custom Fields

The great thing about Advanced Custom Fields is that by using that plugin, you can replace number of other plugin reducing the page load and increasing the site sped, while achieving the same result only by using custom fields. WordPress function body_class() is one of the functions that is basically used by default by theme developers and could easily have the...

How to render shortcode using Advanced Custom Fields

As you know, WordPress function do_shortcode() will render whatever shortcode contains and is frequently used in custom templates. But if you want to allow site owners to update shortcodes easily, without messing with template files (and possibly causing PHP errors and white screens of death), you will want to consider using Advanced Custom Fields.

How to set conditional logic in Advanced Custom Fields

If you tried to set conditional logic using Advanced Custom Fields plugin, but haven't done it before, there's a chance that you will stumble upon the following message "No toggle fields available" wondering what that means. Fortunately, it is very easy to set this up. In order to add toggle fields, you would only need to create a new custom field of "choice" Field Type and add few Choices.

Auto compile Sass on save in NetBeans

If you’re developing WordPress websites in NetBeans, there is a chance that you will edit CSS using the Sass approach. In other words, for every change you make in any of the Sass partials, you will surely want these changes compile into main style.css file automatically. NetBeans offers you this option. And the best of all, it’s very easy to set this up,...

Listing WooCommerce products by tags

This may not be a frequent request, but few months ago I had a client who wanted to list WooCommerce products by tags assigned to each product. There was no official plugin available (there still isn’t, from what I can tell), but a quick googling brought me to solution created by Remi Corson, WooThemes developer.

How to upload files to GitHub

I have a feeling that there aren’t many clear and simple tutorials containing information on how to quickly get started with GitHub – specifically, info on how to perform a task of uploading project into online repository. Although there is a nice Windows application available for GitHub, believe it or not, I prefer to use Shell, although I normally like working with...