• 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

Hide Footer Gallery

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 › Hide Footer Gallery

This topic is: resolved

Tagged: footer gallery, Landscape

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 4 months ago by Rita.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 15, 2013 at 11:25 pm #12220
    Rita
    Member

    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.

    January 16, 2013 at 9:16 am #12296
    David Decker
    Member

    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.


    Twitter @deckerweb // Google+ // My Genesis & WordPress Plugins // German Translations for Genesis

    January 24, 2013 at 9:29 pm #14530
    Rita
    Member

    Awesome!!! Thank you David!!!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide Footer Gallery’ is closed to new 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