• 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 from Excerpts

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 from Excerpts

This topic is: resolved

Tagged: excerpts, remove post meta

  • This topic has 5 replies, 2 voices, and was last updated 13 years ago by SoZo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 28, 2013 at 4:18 pm #15744
    ellenstevens
    Member

    USING PROSE.

    How do I remove post meta from excerpts only?  I want it to appear on full posts.

    Ideas?

    January 28, 2013 at 4:47 pm #15755
    SoZo
    Member

    You would need to add the remove action to the custom code panel through a function which includes a conditional tag. You could also use the Genesis Simple Hooks plugin, unhook post-meta and then place your output wrapped in a conditional statement.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 28, 2013 at 5:44 pm #15802
    ellenstevens
    Member

    Okay.  So, I've read through these guides, but I'm fairly new to WP and I can't seem to get it straight.  Can you explain it in layman's terms?  🙂

    January 28, 2013 at 5:50 pm #15804
    SoZo
    Member

    The function would go something like

    add_action('get_header', 'remove_meta');
    function remove_meta() {
    if( ! is_single() ) {
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    }}

    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 28, 2013 at 7:26 pm #15845
    ellenstevens
    Member

    That's perfect!  I think I had the IF selection.  Thanks for helping me with this.  I'm slowly getting it!

     

    ellen

    January 28, 2013 at 7:26 pm #15846
    SoZo
    Member

    You're welcome 🙂


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove Post Meta from Excerpts’ 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