• 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 a Landing Page to PixelHappy but don't want the 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 › Adding a Landing Page to PixelHappy but don't want the footer widgets

This topic is: resolved

Tagged: footer widget removal, landing page, pixelhappy

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 7 months ago by kworthington.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 6, 2013 at 9:09 pm #71373
    kworthington
    Member

    I added a custom landing page to my Pixel Happy theme, but it's still showing the the footer widgets. Here's part of my landing page code:

    // Remove header, navigation, breadcrumbs, footer widgets, footer
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    add_action( 'genesis_header', 'kw_masthead' );
    add_action( 'genesis_header', 'kw_mainimage' );
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs');

    remove_action( 'genesis_footer', 'footer-widgeted' ); // tried this to remove widgets
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

    remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
    remove_action( 'genesis_footer', 'genesis_do_footer' );
    remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );

    genesis();

    I have the URL of a screenshot attached which shows the hooks and markup of the widgets in question. Any help is really appreciated. Thanks.

    http://gyazo.com/d48dd825aa11dadc6bc57008125e920d.png
    November 6, 2013 at 11:46 pm #71388
    nutsandbolts
    Member

    If you try this by itself, does it have any effect? remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

    That's the usual method for removing the footer widgets, but the Pixel Happy theme is so old it may be using a different hook.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 7, 2013 at 6:56 am #71458
    kworthington
    Member

    Thanks for your reply.

    Yes, I tried that by itself, but it didn't remove the 3 footer widgets.

    I'm not sure if this helps, but here is a screenshot of the Widgets area with the footer widgets supplied by pixelhappy theme:
    Screenshot of Footer Widgets from WIdgets area

    November 7, 2013 at 7:39 am #71461
    cdils
    Participant

    I found this in the Pixel Happy functions.php

    // Add widgeted footer section
    add_action('genesis_before_footer', 'pixelhappy_include_footer_widgets'); 
    function pixelhappy_include_footer_widgets() {
        require(CHILD_DIR.'/footer-widgeted.php');
    }

    So Andrea's right that this would work normally:

    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

    But since PH is calling in it's own function, you'll need to remove THAT instead of genesis_footer_widget_areas. Try this:

    remove_action( 'genesis_before_footer', 'pixelhappy_include_footer_widgets' );


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    November 7, 2013 at 7:44 am #71462
    kworthington
    Member

    YES! That's it! Thanks so much Carrie!

  • 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

© 2025 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