• 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

Layout options

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 › Layout options

This topic is: not resolved

Tagged: genesis_pre_get_option_site_layout, Layout settings, WooCommerce

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago by BUROJAN.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 24, 2019 at 2:58 am #491323
    BUROJAN
    Participant

    Hi, I want all pages "full width layout" except my shop page. So I set Theme settings to "Full with layout". I changed the layout for only my shop page with "sidebar and content". That did not work. It only worked by setting theme settings to "content-sidebar" and change ALL other pages to full with! Seems to me the other way around.

    Any suggestions? Kind regards, Jan

    Child Theme: outfitter

    May 24, 2019 at 9:38 am #491333
    Brad Dalton
    Participant

    You have 2 options :

    1. You can add this line to your shop page template

    add_filter( 'genesis_site_layout', '__genesis_return_content_sidebar' );
    

    or

    2. You can use a custom function with conditional tag in functions.php

    add_filter( 'genesis_pre_get_option_site_layout', 'shop_layout' );
    function shop_layout( $opt ) {
    if ( is_shop() ) {
        $opt = 'content-sidebar'; 
        return $opt;
        } 
    }
    

    Tutorials for StudioPress Themes.

    June 1, 2019 at 2:09 am #491450
    BUROJAN
    Participant
    This reply has been marked as private.
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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