Adding a Landing Page to PixelHappy but don't want the footer widgets

Community Forums Forums Design Tips and Tricks Adding a Landing Page to PixelHappy but don't want the footer widgets

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  kworthington 2 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #71373


    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 );


    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.


    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+



    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



    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() {

    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.



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

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.