Unfortunately, the plugin I have been using to add a Pinterest pin-it button to the WooCommerce single product pages of a clients web shop stopped functioning. I did a quick search for a replacement ... Continue Reading about Add Pinterest button to a Woocommerce product page
How to create a custom author box in Genesis
For the WPStudio website (build on the Genesis Framework), I wanted to add some social profile buttons to the author box. See the screenshot below for an example. My first idea was to use a hook ... Continue Reading about How to create a custom author box in Genesis
How to show a different homepage on mobile devices
A few weeks ago a client asked me whether it is possible to show a different homepage on mobile devices than on the desktop version (a redirect). I've written the following function and added this to ... Continue Reading about How to show a different homepage on mobile devices
How to show or hide trailing zeros on prices in WooCommerce
Since WooCommerce 2.1 the option to show trailing zeros on your prices has been removed. Here is a code snippet which allows you to show or hide the trailing zeros on prices in WooCommerce. Show ... Continue Reading about How to show or hide trailing zeros on prices in WooCommerce
How to use shortcodes in WordPress widgets
Most of the Genesis themes I've build use widget area's on the front page. This gives an user lots of options in showing different kinds of content on the front page. Recently I discovered some ... Continue Reading about How to use shortcodes in WordPress widgets
Add a custom sidebar to WooCommerce pages
In this tutorial I explain how you can add a custom sidebar to WooCommerce pages within your Genesis theme. I assume you've installed Genesis, WooCommerce and the Genesis connect to Woo plugin. Do ... Continue Reading about Add a custom sidebar to WooCommerce pages
Add a description to every menu item
I recently found out that in WordPress there is an option to add custom descriptions to menu items. This looks nice but there's no default way to display these descriptions at the front-end. In ... Continue Reading about Add a description to every menu item
WooCommerce Sold Out badge
A client with a WooCommerce webshop asked me if a sold out badge could be added to every sold out product in the category and shop page. In this example, the client’s theme doesn’t have this ... Continue Reading about WooCommerce Sold Out badge
Replace the H1 title tag on pages except on the frontpage
Normally the site title in Genesis is a H1 tag, on the frontpage and all other pages, posts and archives. In my opinion, every page, post and archive ideally only has one H1 (namely its title), while ... Continue Reading about Replace the H1 title tag on pages except on the frontpage