• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Best set-up of Theme and Layout Settings

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Best set-up of Theme and Layout Settings

This topic is: not resolved

Tagged: layout, Sidebar

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 2 months ago by nutsandbolts.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 20, 2013 at 4:12 pm #74582
    Carta
    Member

    Converted my site to Executive.

    When I started, I set the Default Layout in the Genesis > Theme Settings to the header-content (no sidebar) choice. Of course, when I got to my blog page there was no sidebar. So I tried changing the Blog page Layout Settings to the header-content-sidebar style. This didn't override the default theme setting for layout style.

    Next, I changed the Theme Settings to a sidebar layout style. Then I went through all page except the Blog page and changed each page's Layout Settings to the header-content layout. This worked.

    Did I do this the right way? I would've thought that making the default layout style for the theme the header-content style would be best and then just change the Blog page's layout. I'm guessing that didn't work has to do with the page architecture and the sidebar widget requiring a theme wide sidebar layout side.

    Any thoughts on this?

    http://www.cartagram.com
    November 20, 2013 at 6:50 pm #74608
    nutsandbolts
    Member

    The way you did it is fine, though it will be a bit inconvenient moving forward since you'll have to remember to change the layout for any new pages. Here's an easier way to use the content/sidebar layout on only the blog.

    Robin Cornett has a great tutorial for setting up a custom blog template in your child theme: http://www.robincornett.com/blog-template-update/

    If you're using the older, non-Pro version of Executive, here's her older post: http://www.robincornett.com/custom-blog-template/

    Then to force the content/sidebar layout on individual blog posts, add this to your functions.php:

    // Force sidebar on blog posts
    add_filter( 'genesis_pre_get_option_site_layout', 'nabm_force_layout' );
    function nabm_force_layout( $opt ) {
        if ( is_single() ) { 
            $opt = 'content-sidebar';
            return $opt;
        }
    }

    Hope that helps!


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble