• 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

Genesis update and older minimum

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 › Genesis update and older minimum

This topic is: resolved

Tagged: genesis update, minimum

  • This topic has 7 replies, 3 voices, and was last updated 13 years, 9 months ago by CynthiaC.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • January 9, 2013 at 10:50 am #10702
    CynthiaC
    Participant

    The main page now has primary and second sidebars showing above the footer section with the recent Genesis upgrade??  http://www.problematwork.com/

    January 9, 2013 at 12:28 pm #10728
    Brad Dalton
    Participant

    Hard to take a look because can't use Firebug web dev tool as you have copyscape installed and there's no right click.


    Tutorials for StudioPress Themes.

    January 9, 2013 at 12:40 pm #10736
    CynthiaC
    Participant

    OK - its disabled now - right-click at your leisure 🙂

    January 9, 2013 at 1:10 pm #10746
    Brad Dalton
    Participant

    I'd post that here http://my.studiopress.com/help/

    There's some HTML and CSS errors showing when using this tool http://validator.w3.org/

    Technical Issue that Nick will know how to fix.

    Your animated Favicon looks good!


    Tutorials for StudioPress Themes.

    January 9, 2013 at 1:17 pm #10749
    wpsmith
    Member

    Can you please paste your home.php code here?


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    January 9, 2013 at 1:21 pm #10752
    CynthiaC
    Participant

    Here ya go!

     

    <?php
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'minimum_home_loop_helper' );
    /**
    * Add widget support for homepage. If no widgets active, display the default loop.
    *
    */
    function minimum_home_loop_helper() {

    if ( is_active_sidebar( 'welcome' ) || is_active_sidebar( 'featured' ) || is_active_sidebar( 'portfolio' ) ) {

    /** Force homepage layout */
    add_filter( 'genesis_pre_get_option_site_layout', 'minimum_home_layout' );

    if ( is_active_sidebar( 'welcome' ) ) {
    echo '<div class="welcome">';
    dynamic_sidebar( 'welcome' );
    echo '</div><!-- end .welcome -->';
    }

    if ( is_active_sidebar( 'featured' ) ) {
    echo '<div class="featured">';
    dynamic_sidebar( 'featured' );
    echo '</div><!-- end .featured -->';
    }

    if ( is_active_sidebar( 'portfolio' ) ) {
    echo '<div class="portfolio">';
    dynamic_sidebar( 'portfolio' );
    echo '</div><!-- end .portfolio -->';
    }

    }
    else {
    genesis_standard_loop();
    }

    }

    /**
    * Filter layout
    */
    function minimum_home_layout( $opt ) {
    return 'full-width-content';
    }

    genesis();

     

    January 9, 2013 at 3:06 pm #10789
    wpsmith
    Member

    Change this
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘minimum_home_layout’ );

    to this:
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );

    If that works, then delete this:
    /**
    * Filter layout
    */
    function minimum_home_layout( $opt ) {
    return ‘full-width-content’;
    }


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    January 11, 2013 at 5:23 am #11177
    CynthiaC
    Participant

    That worked 🙂  Thank you very much!!

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Genesis update and older minimum’ is closed to new 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