I was helping a friend set up a website using the Sixteen Nine theme today. I was writing some notes on managing the theme since he’s very non-technical, and I found that the sidebars were more confusing than they need to be.
The site has two layout options: Content Sidebar or Full Width Content. So “Primary Sidebar” will only ever appear on the right. It also uses the “Header Right” sidebar as a left sidebar, so the actual site looks like Sidebar Content Sidebar.
I was telling my friend “to manage the left sidebar, go to Appearance > Widgets > Header Right. To manage the right sidebar, go to Appearance > Widgets > Primary Sidebar”. But there’s an easier way – just rename the sidebars to Left Sidebar and Right Sidebar.
Add this to the functions.php file of Sixteen Nine (without the <?php at the top):
|//* Rename Sidebars|
|unregister_sidebar( 'sidebar' );|
|unregister_sidebar( 'header-right' );|
|genesis_register_sidebar( array( 'id' => 'header-right', 'name' => 'Left Sidebar' ) );|
|genesis_register_sidebar( array( 'id' => 'sidebar', 'name' => 'Right Sidebar' ) );|
Want something similar for any Genesis theme? Check out my Genesis Left Right Sidebar plugin. It’s real simple. It renames the sidebars to Left Sidebar and Right Sidebar, and makes sure those sidebars are always in the correct spot. So if you use Sidebar Content layout, you have the left sidebar on the left. If you use Sidebar Content Sidebar, the left one is still on the left and the right one is on the right.