Using the education theme. When I set the default layout to sidebar-content-sidebar, the secondary sidebar mysteriously appears on the homepage, to the right of the slider. When I change it back to content-sidebar – it goes away.
I’m working with several folks who are entering content, and I’d like to use sidebar-content-sidebar as the default – one less thing for them to remember to click.
Any thoughts on how to resolve? The site is not live yet, so I’ll leave it up with the error showing: http://126.96.36.199/
Try adding this to your home.php file after <?php
// Force layout on home page
add_filter( 'genesis_site_layout', '__genesis_return_content-sidebar' );
The user cannot override this.
Doak Heggeness, WordPress Development | Website
It didn’t work, but your code provided some search terms for me to use and I found this, which worked:
/** Force full width layout */
// You can change this to any Genesis layout below
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.