Switching Primary Menu in Genesis Theme to Header Right on a Permanent Basis
I find that I always, well most of the time, use the header right widget area in Genesis for the Primary Menu of a site and create this menu by adding a Custom Menu to the Header Widget Area, whilst there is nothing wrong by doing it this way, there is a better way. Here is a guide how…
Read MoreAdd Custom Taxonomy Post Meta Terms to Custom Post Type in Genesis WordPress
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 MoreOverriding 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 MoreAdding in a Hello Tool Bar to the Top of a Genesis Theme
How to add in a hello style tool bar to the head of a Genesis theme and make it appear visible after scrolling down part way down the page. Demo in Genesis Sample Theme here. This can be done with a left/right widget or just a centre one. Add in the Javascript Create a file named…
Read MoreAdd another Search Form to a No Results Page in Genesis
The ‘no results page’ from a search in Genesis leaves the visitor with not much info to go on, and if the no results page is a full width page with no sidebar which had contained the search widget it would be nice to have the option to quickly search again. Make a Child Theme Search…
Read MoreOutputting the First or Last Repeater Row in ACF to a Widget in WordPress
This guide follows on from a previous one using ACF Pro repeater field group to output rows of Testimonials on a WordPress page instead of using a custom post type single/archive structure. What I wanted to also show is how you can take one of these testimonial data rows and display it in a widget…
Read MoreUsing ACF Repeater Field to create Testimonial Archive in Genesis
How to create a testimonial page in Genesis using Advanced Custom Fields. ACF Pro comes with a great inclusion called the Repeater field which allows a user to continually add a row of data of certain custom fields, similar to single/archive posts in WordPress but this would be just an archive style layout. This can be…
Read MoreHide 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 MoreInstall 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 MoreMake videos responsive in WordPress with Fitvids
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