Hide Footer Gallery

Community Forums Forums Design Tips and Tricks Hide Footer Gallery

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Rita 2 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12220


    I’m using landscape theme.

    Is it possible to hide the footer gallery from certain areas of the blog?

    I’d to use the Footer Gallery area only on the home page and static pages.


    David Decker

    Yes this should be possible!

    First, backup your functions.php file from the child theme!
    Then, remove line 9-13 of that functions.php file where it says:

    // Add footer gallery
    add_action( 'genesis_before_footer', 'landscape_include_footer_gallery', 8 );
    function landscape_include_footer_gallery() {
    dynamic_sidebar( 'Footer Gallery' );

    and replace with this piece of code:

    —> This lets the footer gallery only appear on homepage and static pages.

    I hope this works for you.



    Awesome!!! Thank you David!!!

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

The topic ‘Hide Footer Gallery’ is closed to new replies.