• 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

Adding 3 widgetized featured pages {prose 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 › Adding 3 widgetized featured pages {prose theme}

This topic is: resolved

Tagged: Prose, widgetized home page

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 11 months ago by Frederika.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 19, 2013 at 1:38 pm #29477
    Frederika
    Member

    Hi -

    I copied in the code that would allow me to add 3 featured page widgets before my content on the home page for a redesign I'm working on. But it places the widgets full width as you can see here. I'd like to look more like corporate or agency theme.

    http://nextlevelvision.com/dmg

    How do I format the 3 sections to be side by side along of the width instead of full length with the page contents under the picture? Also how do I get the thumbnail to be  280 x 100 like the Agency theme? Where do I need to make customizations?

    Appreciate the help in advance!

    March 19, 2013 at 1:49 pm #29479
    ZeroGravity
    Member

    Hi Frederika,

    Getting a page 404 not found error with the link you provided.


    Darren Burns
    Zero Gravity Web Works

    March 19, 2013 at 1:55 pm #29481
    Frederika
    Member

    oops http://nextlevelvision.com/dpm

    March 19, 2013 at 8:36 pm #29572
    Frederika
    Member

    Well I figured out the custom code for the 3 side by side widgets by borrowing and adjusting from the agency theme.

    I'm now not sure how to get it only on the homepage. Right now the 3 widgets are on every page of the site.

    // Register widget
    
    genesis_register_sidebar( array(
     'id' => 'home-left',
     'name' => __( 'Home Left', 'prose' ),
     'description' => __( 'This is the left section of the homepage.', 'prose' ),
    ) );
    genesis_register_sidebar( array(
     'id' => 'home-middle',
     'name' => __( 'Home Middle', 'prose' ),
     'description' => __( 'This is the middle section of the homepage.', 'prose' ),
    ) );
    genesis_register_sidebar( array(
     'id' => 'home-right',
     'name' => __( 'Home Right', 'prose' ),
     'description' => __( 'This is the right section of the homepage.', 'prose' ),
    ) );
    
    add_action( 'genesis_before_content_sidebar_wrap', 'custom_before_content', 9 );
    /**
     * Add widget support for homepage. If no widgets active, display the default loop.
     *
     */
    function custom_before_content() {
    
    if ( is_home() && is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-middle' ) || is_active_sidebar( 'home-right' ) ) {
    
    echo '<div id="home">';
    
    echo '<div class="home-left">';
     dynamic_sidebar( 'home-left' );
     echo '</div><!-- end .home-left -->';
    
    echo '<div class="home-middle">';
     dynamic_sidebar( 'home-middle' );
     echo '</div><!-- end .home-middle -->';
    
    echo '<div class="home-right">';
     dynamic_sidebar( 'home-right' );
     echo '</div><!-- end .home-right -->';
    
    echo '</div><!-- end #home -->';
    
    }
    
    }
    
  • 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