• 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

Prose: full width area after sidebar on home page?

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 › Prose: full width area after sidebar on home page?

This topic is: not resolved

Tagged: after sidebar, Prose, widgetized area

  • This topic has 19 replies, 3 voices, and was last updated 11 years, 10 months ago by Tom.
Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • April 22, 2014 at 1:40 pm #101925
    cissyh
    Member

    I love Genesis framework and I've used it on my last several designs. I've run into a wall and I'm hoping someone here can help me. I'm certain my problem is embarrassingly simple but I can't seem to find the answer. I'm using Prose to redesign a client's site website, and I'd like to add a full width widgetized area on the home page only at genesis_after_content_sidebar_wrap.

    You can see the page I'm working at http://jayneannkrentz.com/dev2013. I'd like everything from "Recent Releases" on down to be full width. Can anyone suggest the best way to accomplish it?

    Thanks in advance for your help

    http://jayneannkrentz.com/dev2013
    April 23, 2014 at 12:54 pm #102094
    cissyh
    Member

    I thought I might get better response if I explained what I'd already done.

    I've added this to the custom code area but no new widget is showing up on the widgets page:

    
    /** Register widget areas */
    genesis_register_sidebar( array(
    	'id'          => 'after-sidebar',
    	'name'        => __( 'After Sidebar', 'prose' ),
    	'description' => __( 'This is the a full width section after the sidebar but before the footer.', 'prose' ),
    ) );
    
    add_action( 'genesis_after_content_sidebar_wrap', 'add_genesis_widget_area' );
    function add_genesis_widget_area() {
                    genesis_widget_area( 'after-sidebar', array(
    		'before' => '<div class="after-sidebar widget-area">',
    		'after'  => '</div>',
        ) );
    
    }

    I'd really appreciate any help you guys can provide. Thanks!

    April 23, 2014 at 1:23 pm #102101
    cissyh
    Member

    Another update: I've also tried the following code based on a similar question at http://www.studiopress.community/topic/placing-a-footer-banner-above-footer-widgets-how-is-this/ that I found searching the forum.

    Still no new widget area showing up.

    //* Register widget areas
    genesis_register_sidebar( array(
    	'id'          => 'before-footer',
    	'name'        => __( 'Before Footer Widget', 'prose' ),
    	'description' => __( 'Add Content Before The Footer Site Wide', 'prose' ),
    ) );
    
    add_action( 'genesis_before_footer', 'prose_before_footer_widget', 1 );
    
    function prose_before_footer_widget() {
    
    if ( is_active_sidebar('before-footer') ) {
    
    		genesis_widget_area( 'before-footer', array(
    			'before' => '<div class="before-footer" class="widget-area">',
    			'after'	 => '</div>',
    		) );
    
         }
    
    }
    
    
    April 24, 2014 at 9:00 am #102162
    cissyh
    Member

    I'm not sure if it's kosher to "bump" messages, but I'm really hoping to get a response on this. Thanks so much.

    April 25, 2014 at 8:50 am #102314
    cissyh
    Member

    Is this an impossible task or am I asking a stupid question? I truly would appreciate help with this issue.

    Thanks in advance.

    April 25, 2014 at 2:01 pm #102359
    AnitaC
    Keymaster

    Brad has a tutorial on this. See if this works for you.

    But... change the genesis_before_content_sidebar_wrap to genesis_after_content_sidebar_wrap. And you can change the slider text to whatever you want.


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:14 pm #102361
    cissyh
    Member

    Thanks so much for responding. This got me closer. The widget area is appearing on the Widgets list in the dashboard but the text I put into the widget box isn't showing up on the home page.

    I put this code at the end of Prose's /lib/init.php file

    genesis_register_sidebar( array(
    'id' => 'after-sidebar',
    'name' => __( 'After Sidebar', 'prose' ),
    'description' => __( 'This is a full-width widget on the home page below the sidebar', 'prose' ),
    ) );
    /**
    * @author Brad Dalton - WP Sites
    * @link http://wpsites.net/web-design/home-page-slider-prose-theme/
    */
     
    add_action( 'genesis_after_content_sidebar_wrap', 'child_before_post_box' );
    function child_before_post_box() {
    if ( is_home() && is_active_sidebar( 'after-sidebar' ) ) {
    echo '<div id="after-sidebar">';
    dynamic_sidebar( 'after-sidebar' );
    echo '</div><!-- end #after-sidebar -->';
    }
     
    }

    And I added this to my stylesheet

    #after-sidebar{
    margin: 5px 0 10px;
    padding: 10px;
    overflow: hidden;
    }
    April 25, 2014 at 2:15 pm #102362
    AnitaC
    Keymaster

    Can you give me a link so I can take a look at the site and code?


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:16 pm #102363
    cissyh
    Member

    Sure, it's http://jayneannkrentz.com/dev2013

    April 25, 2014 at 2:18 pm #102364
    AnitaC
    Keymaster

    Turn Minify off and any other caching. Clear the cache.


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:26 pm #102365
    cissyh
    Member

    Okay, minify is off. I'm still seeing no change. Do you see it?

    April 25, 2014 at 2:29 pm #102366
    AnitaC
    Keymaster

    Drag an actual widget in there, not just text.


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:30 pm #102367
    cissyh
    Member

    I dragged the categories list over into the widget area. Still nothing displaying.

    April 25, 2014 at 2:30 pm #102368
    AnitaC
    Keymaster

    Change before_post_box to after_post_box


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:32 pm #102369
    cissyh
    Member

    Okay, the code now reads

    genesis_register_sidebar( array(
    'id' => 'after-sidebar',
    'name' => __( 'After Sidebar', 'prose' ),
    'description' => __( 'This is a full-width widget on the home page below the sidebar', 'prose' ),
    ) );
    /**
    * @author Brad Dalton - WP Sites
    * @link http://wpsites.net/web-design/home-page-slider-prose-theme/
    */
    
    add_action( 'genesis_after_content_sidebar_wrap', 'child_after_post_box' );
    function child_after_post_box() {
    if ( is_home() && is_active_sidebar( 'after-sidebar' ) ) {
    echo '<div id="after-sidebar">';
    dynamic_sidebar( 'after-sidebar' );
    echo '</div><!-- end #after-sidebar -->';
    }
    
    }
    April 25, 2014 at 2:36 pm #102370
    AnitaC
    Keymaster

    Add that code to the Custom box and let's see if it works. On the Prose 1.5 announcement it states "we also created a Custom Code page, which is where custom CSS and custom functions can be placed. "


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:39 pm #102371
    cissyh
    Member

    I actually tried the code there before I put it in init.php and the widget didn't even show up, but I tried again as we've tweaked the code. Removed it from init.php and moved to the functions box of Custom Code area. The widget is gone again from the Widgets page.

    April 25, 2014 at 2:40 pm #102372
    AnitaC
    Keymaster

    Let me send out a tweet on this. Put it back in the init.php so it shows up.


    Need help with customization or troubleshooting? Reach out to me.

    April 25, 2014 at 2:42 pm #102374
    cissyh
    Member

    Done. It's back on the widget list.

    April 25, 2014 at 6:07 pm #102398
    Tom
    Participant

    Hi Cissy...

    Anita's work is spot-on, but it seem you still have a problem. The code from Brad will work (I've used it before for a slider) and it works as you've modified it in a cut-and-paste test on a local install to setup your desired widget.

    There must be some small conflict being overlooked.

    I've screen-capped my result with Genesis action hooks showing if it helps:

    Prose with widget area after content sidebar wrap
    https://i.cloudup.com/kEqBX66Nyg-2000x2000.png


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

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