Add a Slider to the Home Page in Genesis Theme WordPress using Cyclone Slider
Sliders have been slammed a lot recently, notably for their effectiveness and usability, however within certain contexts they are still relevant and more importantly still popular with clients, their use may be more relevant to certain industries, their usage may be better suited to subtle areas of the page. That said, here is a guide…
Read MoreUsing wp_localize_script with jQuery variables including strings, booleans and integers
The use of wp_localize_script is an API in WordPress is to retrieve PHP values from the database to use in javascript/jquery scripts, it can also be utilized to make string values language translatable if required, but also used to pass user defined variables/settings say from a plugin to load via a jQuery init file for a jQuery plugin. By…
Read MoreUsing Slidebars to Slide In and Out Content in A Genesis Theme
Having some content slide out from the side of a page is a great solution for off canvas content, it can solve crowded page issues especially at smaller sizes as it can slide in content that takes prominence, do what it needs to do for the user and then slide out again, Slidebars is a jQuery plugin solution that…
Read MoreMoving JetPacks Related Posts to a new position in Genesis
JetPack has a great Related Posts module, here’s how to move it further down the page below posts meta info or anywhere else you like by using a shortcode provided by JetPack. In Genesis Themes for instance, it positions itself in the genesis_entry_content hook at the bottom. Lets say you wanted this below the post…
Read MoreRemove Default Mobile Menu from Underscores
WordPress Underscores theme comes with a default primary menu that toggles to a mobile menu button at 600px wide. If your project requires using another mobile menu solution it is best to remove the existing one and here’s how. You can disable this menu and behaviour by removing the wp_enqueue_script to the navigation.js file…
Read MoreUp and running with Sidr Off Canvas Menu for WordPress
Sidr is a very popular jQuery off canvas menu that can slide content from the left or right into the viewport which is a great solution for mobile or tablet display. Here’s how to get it up and running in WordPress. First up is to download the latest zip which contains a minified jQuery file and…
Read MoreRemove Genesis Structural Wraps from Markup
On Genesis themes, the structural .wrap is essentially an element which acts as a container for content. The sample and most of the themes have it set at 1140px wide and narrower at smaller sizes. What areas have the .wrap markup by default are: header menu-primary menu-secondary footer-widgets footer You can see this markup in the core Genesis framework…
Read MoreWordPress VVV Vagrant Running Slow on Virtual Box
Is your VVV Vagrant running slow on Virtual Box, lot’s of MySQL restarts, takes ages to SSH into the box – that might be because the initial memory settings was left at 512MB which is not pretty and as your working day goes on and you feel like your hitting a brick wall. This can be…
Read MoreRemove Default Sort in WooCommerce and ‘Showing All Results’ Notice
In an e-commerce environment using WooCommerce when there is only a few products to sell, it is cleaner and more intuitive to rid the space of some clutter – such as the ‘Default Sorting‘ options dropdown and the display notice ‘Showing all x results‘. Add this code in your themes functions.php file and you will have…
Read MoreSwitching 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 More