In the Genesis Facebook group, a user asked: how do i automagically rotate widgets in both the primary and secondary sidebars, on screen refresh? where do i find the index names of sidebars? Adding the following in child theme’s functions.php will shuffle and display widgets of Primary and Secondary sidebars in random order on page […]
Random
Random widget area after second post in Genesis
This tutorial provides the steps to register four widget areas and display one of these randomly below the second entry on non-singular pages (like posts page, archives) in Genesis using rand() and WordPress’s built-in loop counter. Step 1 Add the following in child theme’s functions.php: To view the full content, please sign up for the […]
How to display a random ad after every second post in Genesis
In this article I show how a random Google Adsense ad (or just any HTML) can be inserted in between every two Posts on Posts page (Blog) and category archives when using Genesis. Step 1 Install and activate Ads by datafeedr.com plugin. This plugin allows us to add advertisements (any HTML code) and provides shortcode […]
‘Random Post’ Page Template in Genesis
To view the full content, please sign up for the membership. Already a member? Log in below or here.
Recent Comments