• 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

How to remove footer widgets from front 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 › How to remove footer widgets from front page?

This topic is: resolved

Tagged: footer widgets remove_action

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 5 months ago by Davinder Singh Kainth.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 10, 2014 at 7:44 am #89642
    MrNerdy
    Member

    I am using the 3 footer widgets, which I moved outside the structural wrap:

    //* Reposition the footer widgets outside the wrap
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    add_action( 'genesis_after', 'genesis_footer_widget_areas' );

    I would like to remove the footer widgets from the front page only, which I unsuccesfully tried to achieve with the following code:

    //* Remove footer widgets from front page
    add_action( 'genesis_after', 'remove_footer_widgets' );
    
    function remove_footer_widgets() {
    	if ( is_front_page()) 
    	remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    }

    The footer widgets are still visible on the front page. Any idea how to get this working?

    February 10, 2014 at 7:56 am #89648
    chillybin
    Member

    This should help

    //* Remove footer widgets from front page
    add_action( 'genesis_after', 'remove_footer_widgets' );
    
    function remove_footer_widgets() {
    	if ( is_front_page() || is_home())  {
    	  remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    	}
    }

    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    February 10, 2014 at 8:04 am #89654
    MrNerdy
    Member

    Unfortunately this did not work either, but I just found the mistake. The function has to be called at the original footer widget location, i.e.:

    //* Remove footer widgets from front page
    add_action( 'genesis_before_footer', 'remove_footer_widgets' );
    
    function remove_footer_widgets() {
    	if ( is_front_page() || is_home())  {
    	  remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    	}
    }
    February 10, 2014 at 8:07 am #89655
    chillybin
    Member
    //* Remove footer widgets from front page
    
    if ( is_front_page() || is_home())  {
    	  remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    }

    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    February 10, 2014 at 8:12 am #89660
    Davinder Singh Kainth
    Member

    Try this code:

    //* Remove footer widgets from home - basicwp.com
    add_action( 'genesis_before', 'basicwp_footer_widgets' );
    function basicwp_footer_widgets() {
    	if( !is_front_page() )
    	return;
    	remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

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