By default widgets placed inside ‘Primary Sidebar’ widget area (sidebar) will appear on all pages that are set to display the Primary Sidebar location in Genesis. In this tutorial I share the code to register and display a custom ‘Primary Sidebar (Blog)’ widget area in the Primary Sidebar location for single and archive view of […]
conditional
How to replace Primary Sidebar with a custom sidebar in all single Posts in Genesis
Jodi asks, I used Simple Sidebars to create a unique sidebar for my blog posts. Of course, now I noticed I’ve been forgetting to apply it! So what’s the best way to have it just show up automatically on all posts in the “blog” category? With the following code in child theme’s functions.php, all single […]
How to replace Header Right widget area conditionally in Genesis
In Genesis, widgets placed in the built-in Header Right widget area will appear through out the site. What if you wanted to use a different custom widget area in this location on selected views? In this tutorial I share the code to make the contents of a custom ‘Header Right Inner’ widget area appear in […]
Conditional display of Primary and Secondary Navigation Menus and Sidebars in Genesis
Below are sample code snippets that should come in handy if you want to 1) programmatically assign custom menus to Primary Navigation Menu and Secondary Navigation Menu theme locations and 2) conditionally display custom sidebars in Primary and Secondary Sidebar areas in Genesis. One practical use case is when setting up a private/client/membership system. To […]
Recent Comments