Add Custom Taxonomy Post Meta Terms to Custom Post Type in Genesis WordPress

custom-taxonomies

To add in the post meta of  custom taxonomy terms into custom post types in Genesis WordPress theme you need to create a function with a conditional that equals the custom post type then set the post meta using shortcode which includes the taxonomy terms, then apply a filter to the result to the genesis_post_meta function in your functions.php file. You can choose to…

Read More

Overriding JetPacks CSS Styles in WordPress

You can override JetPacks CSS styles without using the !important declaration with a few tweaks in your functions.php file. Currently the JetPack CSS style sheet is loaded late in the header of the document pretty much after your main theme’s style sheet, it is a 53kb minified style sheet which has CSS for a number…

Read More

Hide WooCommerce for Unregistered Users in WordPress

You can hide the core pages of WooCommerce from unregistered users using a simple WordPress redirect function called template_redirect. This may come in handy if the woocommerce component is still in development or has a delayed release or is for WordPress registered users only. Add to your functions.php file The code will essentially redirect any…

Read More

Install and set up wp-cli WordPress on shared and local hosting

WordPress has a command line tool called wp-cli which operates similar to what Drush does for Drupal, it runs on OSX/Linux operating systems with a minimum of PHP 5.3.2 or later and WordPress 3.5.2. This guide will go through getting and installing wp-cli and basic usage it covers for either a local or production server environment. Install wp-cli curl…

Read More

Make videos responsive in WordPress with Fitvids

fitvids in wordpress

You can make videos responsive in WordPress with a script called Fitvids , it is a great solution for responsive video and it out of the box supports YouTube, Vimeo, Viddler and others, here’s how to get it going in WordPress for responsive video goodness. Download the Fitvids zip and grab the jquery.fitvids.js file, add this to your child theme’s…

Read More