• 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

Daily Dish Pro: Landing Page Header Hook Issue

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 › Daily Dish Pro: Landing Page Header Hook Issue

This topic is: resolved

Tagged: daily dish pro, landing page

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by akjones.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 25, 2014 at 7:06 pm #121026
    akjones
    Member

    I added some social media icons to the genesis_header hook using the Simple Hooks plugin but now I can't seem to remove the icons from my landing pages.

    I have this in my page_landing.php file so I'm not quite sure what I'm missing or what I need to add.

    //* Remove site header elements
    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 );

    Home page: http://www.amandakjones.com
    Landing page: http://www.amandakjones.com/fitness-blogging-mentorship

    Thanks for the help!

    August 25, 2014 at 8:13 pm #121034
    Sridhar Katakam
    Participant

    Tick 'Execute PHP on this hook?' at the bottom of the hook you are using.

    Then write the code using this example:

    <?php
    
    if ( ! is_page_template( 'page_landing.php' ) ) { ?>
    
    This should come after header on all pages of the site except on those that use the Landing template.
    
    <?php  } ?>

    Genesis Tutorials | Follow me on Twitter

    August 25, 2014 at 8:55 pm #121039
    akjones
    Member

    Thanks Sridhar! Where do I put the PHP code you wrote? I tried putting it in the hook after ticking the box and it didn't seem to work. Does it go in the theme functions file?

    August 26, 2014 at 1:58 am #121074
    Sridhar Katakam
    Participant

    ss

    You will have to replace "This should come after header" shown in the screenshot with your code that displays social icons.


    Genesis Tutorials | Follow me on Twitter

    August 26, 2014 at 11:14 am #121146
    akjones
    Member

    PERFECT...thanks again!!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Daily Dish Pro: Landing Page Header Hook Issue’ 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