• 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

Agency 2.0 Footer Widgets

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 › Agency 2.0 Footer Widgets

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 12 years, 8 months ago by Smarty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 29, 2014 at 1:39 pm #87717
    rjdcreative
    Member

    Does anyone know a way to have the content in the home page Footer 1 widget span across the Footer 2 widget in the Agency 2.0 theme? And also how to have the footer widgets appear on the home page only? Is there some code I can add to the Theme Functions file (or style.css?) to accomplish this?

    http://s507547076.onlinehome.us/

    Thanks in advance,
    Bob

    http://s507547076.onlinehome.us/
    January 29, 2014 at 5:50 pm #87749
    Smarty
    Member

    Hi Bob,

    In your functions.php

    To remove footer from entire site except homepage try;

    add_action( 'genesis_before', 'pas_remove_footer_exclude_home' );
    function pas_remove_footer_exclude_home() {
    if( !is_home() ) {
    remove_action('genesis_footer', 'genesis_do_footer');
    remove_action('genesis_footer', 'genesis_footer_markup_open', 5);
    remove_action('genesis_footer', 'genesis_footer_markup_close', 15);
    }}
    

    To remove footer & footer widgets from entire site except homepage try;

    add_action( 'genesis_before', 'pas_display_footer_home' );
    function pas_display_footer_home() {
    if( !is_home() ) {
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    remove_action('genesis_footer', 'genesis_do_footer');
    remove_action('genesis_footer', 'genesis_footer_markup_open', 5);
    remove_action('genesis_footer', 'genesis_footer_markup_close', 15);
    }}
    

    Hope this helps.

    Paul

    (Thanks to Brad Dalton for the original code above)


    Web Design, Development & Consultancy

    Being The Best He Can Be! | http://www.paul-smart.co.uk

    January 30, 2014 at 1:17 pm #87863
    rjdcreative
    Member

    Hi Paul, thanks so much for your help -- I'm getting an error on this line:

    function pas_display_footer_home() {

    And also the last line:

    }}

    Am I doing something wrong?

    And do you (or anyone else?) know a way to make the content in the home page Footer 1 widget span across the Footer 2 widget?

    Thanks again!
    Bob

    January 31, 2014 at 5:28 am #87934
    Smarty
    Member

    Hi Bob,

    Apologies for the delay.

    I am not sure why it's not working for you, I have tested the code on a dev site and it works fine. Try it again, or have you made any other changes to your functions.php that may be causing the issue?

    Regarding the footer, around line 74 of your functions.php change this;

    /** Add support for 3-column footer widgets */
    add_theme_support( 'genesis-footer-widgets', 3 );
    

    To This;

    /** Add support for 2-column footer widgets */
    add_theme_support( 'genesis-footer-widgets', 2 );
    

    Then in your styles.css, around line 1323 change;

    .footer-widgets-1 {
    	float: left;
    	margin: 0 30px 0 0;
    	width: 280px;
    }
    
    .footer-widgets-2 {
    	float: left;
    	width: 280px;
    }
    
    .footer-widgets-3 {
    	float: right;
    	width: 280px;
    }
    

    To;

    .footer-widgets-1 {
    	float: left;
    	margin: 0 30px 0 0;
    	width: 560px;
    }
    
    .footer-widgets-2 {
    	float: left;
    	width: 560px;
    }
    
    /*.footer-widgets-3 {
    	float: right;
    	width: 280px;
    }*/
    

    You might want to adjust width: 560px on footer-widgets-2 to suit your design and I would also suggest deleting footer-widgets-3 once you are happy as I have just commented it out for speed.

    Finally, I would remove .footer-widgets-3, from lines 1656 & 1718 under Respeonsive Design.

    All the best

    Paul


    Web Design, Development & Consultancy

    Being The Best He Can Be! | http://www.paul-smart.co.uk

  • 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