Custom post type not found Usually this is a permalink issue. The fix for this is to put the following line in your functions.php…
WordPress
Display genesis post info on page content type
Display genesis post info on page content type When working with genesis its a bit tricky to find the right functions and filters to…
WP Engine – Production to Stage workflow
This is an example for when we WORK on Production. Pushing directly to production is an option for projects that are completely new and…
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…