• 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

Default page layout – education theme

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 › Design Tips and Tricks › Default page layout – education theme

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by [email protected].
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 12, 2013 at 9:01 am #35003
    [email protected]
    Member

    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://199.204.250.251/

    Thanks!

    April 12, 2013 at 10:51 am #35023
    Doak Heggeness
    Member

    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

    April 12, 2013 at 11:59 am #35037
    [email protected]
    Member

    Thanks, Doak!

    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 */
    add_filter( 'genesis_pre_get_option_site_layout', 'child_do_layout' );
    function child_do_layout( $opt ) {
        $opt = 'full-width-content'; // You can change this to any Genesis layout below
        return $opt;
    }

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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