• 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

Outreach Pro Widget section move

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 › Outreach Pro Widget section move

This topic is: resolved

Tagged: css, functions, outreach, widgets

  • This topic has 13 replies, 2 voices, and was last updated 11 years, 1 month ago by Genesis Developer.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • December 1, 2014 at 10:13 am #133339
    Jack
    Member

    Hi,

    Using the Outreach Pro Theme is it possible to switch the sub-footers and the home bottom so that the 4 sections would be bellow the text?

    Many Thanks,
    Pete.

    December 1, 2014 at 10:34 am #133341
    Genesis Developer
    Member

    are you wanting for home page only?


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 10:38 am #133342
    Jack
    Member

    Yeah Also how would you go about removing the sub footers from other pages you just brought it to our attention sorry.

    December 1, 2014 at 10:44 am #133343
    Genesis Developer
    Member

    Removing from Other pages:

    Open the functions.php and remove this code

    //* Add the sub footer section
    add_action( 'genesis_before_footer', 'outreach_sub_footer', 5 );
    function outreach_sub_footer() {
    
    	if ( is_active_sidebar( 'sub-footer-left' ) || is_active_sidebar( 'sub-footer-right' ) ) {
    		echo '<div class="sub-footer"><div class="wrap">';
    		
    		   genesis_widget_area( 'sub-footer-left', array(
    		       'before' => '<div class="sub-footer-left">',
    		       'after'  => '</div>',
    		   ) );
    	
    		   genesis_widget_area( 'sub-footer-right', array(
    		       'before' => '<div class="sub-footer-right">',
    		       'after'  => '</div>',
    		   ) );
    	
    		echo '</div><!-- end .wrap --></div><!-- end .sub-footer -->';	
    	}
    	
    }

    Repositioning the Sub-footer for Home page:

    Open the front-page.php file and change this line

    add_action( 'genesis_before_footer', 'outreach_home_bottom_widgets', 1 );

    by

    add_action( 'genesis_before_footer', 'outreach_home_bottom_widgets', 10 );

    Add the following code before the genesis() line

    //* Add the sub footer section
    add_action( 'genesis_before_footer', 'outreach_sub_footer', 5 );
    function outreach_sub_footer() {
    
    	if ( is_active_sidebar( 'sub-footer-left' ) || is_active_sidebar( 'sub-footer-right' ) ) {
    		echo '<div class="sub-footer"><div class="wrap">';
    		
    		   genesis_widget_area( 'sub-footer-left', array(
    		       'before' => '<div class="sub-footer-left">',
    		       'after'  => '</div>',
    		   ) );
    	
    		   genesis_widget_area( 'sub-footer-right', array(
    		       'before' => '<div class="sub-footer-right">',
    		       'after'  => '</div>',
    		   ) );
    	
    		echo '</div><!-- end .wrap --></div><!-- end .sub-footer -->';	
    	}
    	
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 10:56 am #133344
    Jack
    Member

    That worked Thanks for your help, but one thing went wrong and that is that it placed the home-bottom bellow the footer widgets as well as the sub-footer widgets. We would still like the footer widgets to be at the bottom and the home bottom to be above them.

    Thanks Again For your help,

    December 1, 2014 at 11:00 am #133345
    Genesis Developer
    Member

    then replace the no 5 to 1 and 10 to 2


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 11:10 am #133346
    Jack
    Member

    One last thing with our frame there is a widget area added to the theme its a full width rectangle 200px high. this will go bellow the home-bottom(in its moved position). would you have any idea on how we would be able to make this.

    Thanks for your help.

    December 1, 2014 at 11:22 am #133347
    Genesis Developer
    Member

    are you already registered the new widget area? You will add the code in the front-page.php if you only want for home page. Other wise you will add the code in functions.php file


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 11:30 am #133349
    Jack
    Member

    No we are not sure how to register a new plugin area that's what were trying to work out and then putting it in place, we haven't got much experience with this. Would you be able to show us how to register a new widget area and then place it in the front-page.php or direct us to somewhere we could learn how to do this.

    Thanks for your help,

    December 1, 2014 at 11:36 am #133350
    Genesis Developer
    Member

    //* Register widget areas

    genesis_register_sidebar( array(
    'id' => 'before-footer-widgets',
    'name' => __( 'Before Footer Widgets', 'genesis' ),
    'description' => __( 'This section will appear at above of the footer widget area.', 'genesis' ),
    ) );
     
    add_action('genesis_before_footer', 'new_home_widget', 3);
    function new_home_widget(){
    genesis_widget_area( 'before-footer-widgets', array(
    'before' => '<div class="new_home_widget widget-area">',
    'after' => '</div>',
    ) );
    } 

    Add the above code in functions.php file


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 11:48 am #133351
    Jack
    Member

    Thanks The new widget area works am i correct in saying we just add it to the style sheet now and can adjust it from there?

    December 1, 2014 at 11:51 am #133352
    Genesis Developer
    Member

    You need to add the CSS in style.css file for design


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 1, 2014 at 11:58 am #133353
    Jack
    Member

    Thank you very much you've been a great help the site is now starting to take shape,
    your help was greatly appreciated.

    Have a good day.

    Pete.

    December 1, 2014 at 12:05 pm #133354
    Genesis Developer
    Member

    You are welcome. Please mark it as RESOLVED.


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

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