• 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

Cannot remove post info

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 › Cannot remove post info

This topic is: not resolved

Tagged: .post-info

  • This topic has 1 reply, 1 voice, and was last updated 11 years, 6 months ago by slobizman.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 8, 2015 at 1:41 pm #140101
    slobizman
    Member

    I just cannot remove the post info for posts on the home page no matter what I did in my eleven40 pro child theme. I got frustrated and just tried the global removal, without conditional statements:

    remove_action( 'genesis_before_post_content', 'genesis_post_info' );

    That does not remove it anywhere.

    Then I tried in Simple Hooks, looking for the "genesis_before_post_content" hook so I could "Unhook genesis_post_info() function from this hook?" as so many tutorials say I can do. There is no "genesis_before_post_content" hook.

    I cannot use the Genesis Simple Edits plugin because I do not want to do this globally -- I want to keep the post info on my individual post pages.

    I'd give you the URL, except it's not public yet.

    February 8, 2015 at 2:44 pm #140102
    slobizman
    Member

    AHA! Just about every article on how to do this is no longer valid I see, according to this Genesis 2.0 hooks page.

    The new removal statement is this:

    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );

    Now I still have an issue, and I think it has to be something with the priority. I only want the date to show up on posts pages, so I have this code:

    if ( !is_single() ) {
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    }

    But I can't get the priority right. With "12" which is what Studiopress chose in their example at the link above, it removes the post info on everything, including my single posts. If I make it "1" or a "99" I get post info everything, including the home page.

    Can someone enlighten me on how to get the priority correct?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 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