• 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

Remove Post Meta 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 › Remove Post Meta info

This topic is: not resolved

Tagged: remove post meta

  • This topic has 9 replies, 5 voices, and was last updated 8 years, 8 months ago by WBConsulting.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 25, 2014 at 6:02 pm #87011
    beautifullycreative
    Member

    I would like to remove the post meta info from all posts. I am using the agency pro theme. I have tried this and it didn't work:

    //* Remove the post meta function
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

    Still developing locally. Can not provide live url

    http://localhost
    January 25, 2014 at 9:07 pm #87016
    nutsandbolts
    Member

    Since Agency Pro is one of the HTML5 themes, it uses the newer Genesis hooks. Try this one:

    //* Remove the post meta function
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 26, 2014 at 9:01 am #87091
    beautifullycreative
    Member

    This one doesn't work either. 🙁

    January 26, 2014 at 1:20 pm #87114
    nutsandbolts
    Member

    Did you copy that from the email or from directly here on the forum? The email notifications strip out the formatting and sometimes that can prevent a function from working correctly.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 26, 2014 at 1:31 pm #87115
    beautifullycreative
    Member

    Directly from the forum. I knew not to copy from the e mail

    January 26, 2014 at 1:32 pm #87116
    nutsandbolts
    Member

    Okay, just thought I should check. I really don't know what to tell you on that one except that you might open a support ticket - the function I gave you is specific to HTML5 Genesis child themes and works with Agency Pro for me on a test site.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 26, 2014 at 1:33 pm #87117
    beautifullycreative
    Member

    I know, I find it strange that is doesn't work.

    February 6, 2014 at 2:31 pm #88996
    Ordog
    Member

    This worked for me thank you.

    beautifullycreative: Are you getting confused between post meta and post info? This function ONLY removes the 'Filed Under' part from below your post.

    March 17, 2014 at 11:51 am #95333
    maxime
    Member

    Try This: (This one is when you are using Genesis 2.0 or above

    // Remove post date in entry header (requires HTML5 theme support)
     
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter($post_info) {
    $post_info = '[post_edit]';
    return $post_info;
    }
    July 18, 2014 at 11:55 am #114818
    WBConsulting
    Member

    // Remove post date in entry header (requires HTML5 theme support)

    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter($post_info) {
    $post_info = '[post_edit]';
    return $post_info;
    }

    ^^^

    That worked for me... thanks!

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

© 2023 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