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

Import a mysql database into macOS via Terminal

Remove Mysql Databse Macos

Import a mysql/mariadb  database into macOS via the command line I have found that phpmydmin on the Mac has issues with the max upload file size limit and changing the value in php.ini doesn’t always do the trick. With mysql already installed a quick trip to the terminal will sort this out. Create the database…

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

Property Investment Vault

This is a custom property membership website. The theme is based on AgentPress Pro with Wishlist controlling member level access. A customised WP Listings plugin has been used to display properties which have custom fields and taxonomies which properties can be filtered on.

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