• 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

Help with default layouts

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 › Help with default layouts

This topic is: resolved

Tagged: layout

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 10 months ago by Mana193.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 29, 2014 at 4:12 am #111945
    Mana193
    Member

    I have created all my themes on the Genesis framework, all my themes come with all 6 layouts. I would like to know if it is possible to set a default layout but still allowing users to change the layout?

    It seems a bit of an odd request but it's only because I have a multisite and would prefer this setup if its possible.

    Iv'e seen these code snippets in the tutorials where you can set the default layout:

    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

    however this forces the website to always use the layout and so users are unable to change it.

    Any help appreciated

    June 30, 2014 at 10:35 am #112107
    McGuive7
    Member

    You're right, the code you're using is a way to FORCE a layout, often used for a specific page template or post type, etc.

    If you want to just modify the default layout, or any Genesis default for that matter, you'll probably want to use the genesis_theme_settings_defaults filter. You can check out a good example from Bill Erickson here: http://www.billerickson.net/code/genesis-theme-settings/

    June 30, 2014 at 10:53 am #112110
    Robert Neu
    Member

    You can give this a try:

    https://gist.github.com/wpbacon/bb8cb89433582e23cb0b

    It's untested, so I'm not 100% sure it will work, but it looks like it should.


    Co-Founder of Audit WP, a WordPress SEO audit service and Flagship, a new WordPress theme company launching soon!

    July 6, 2014 at 7:46 am #113126
    Mana193
    Member

    Thanks for your help.

    That worked.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 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

© 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