This is an example for when we WORK on Production. Pushing directly to production is an option for projects that are completely new and…
WordPress
PHP change date format
PHP change date format string using the following short function, use it wisely. PHP change date format This is one of those things that…
Salient theme header custom post type FIX
Salient theme header custom post type FIX. Salient is well known WP theme and preferred by many. It gives the editors a beautiful way…
WordPress custom taxonomy query to get posts
WordPress custom taxonomy query to list custom post types tagged with a taxonomy term from a custom vocabulary.
Print Pods field in WordPress template
This is how you print Pods field in WordPress template files. When using pods there are some snippets that I use very often I…
WP CLI Cannot redeclare wp_get_server_protocol
I knew something wasn’t right when I saw WP CLI Cannot redeclare wp_get_server_protocol. So I did a little research on it but it seems…
Managing WordPress plugins with WP CLI
Managing WordPress plugins with WP CLI is easier than you think. In this post I just listed some of the commands I use all…
WordPress add page slug to body CSS class
This is a life saver when it comes to theming websites. WordPress add page slug to body CSS class is a neat trick to…
WordPress list taxonomy terms from custom vocabulary
This is how you can print taxonomy terms form a custom vocabulary in the post template. WordPress print taxonomy terms from custom vocabulary.
Show WordPress font selector in text editor, wysiwyg
By default font selector is hidden. If you want to show WordPress font selector in text editor all you need to do is add…