• 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 entry meta on posts only, keep it there on the 'blog' page?

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 entry meta on posts only, keep it there on the 'blog' page?

This topic is: not resolved
  • This topic has 5 replies, 3 voices, and was last updated 12 years ago by hburke.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 4, 2013 at 5:02 pm #70972
    awr
    Member

    I'm trying to remove the entry meta stuff (posted by, date, comments) on individual post pages... BUT keep the entry meta stuff there all other times (for example, when viewing the "blog" page, or category pages, or any page where there is a list of post excerpts).

    Is this possible?

    Thanks in advance for any help.

    November 4, 2013 at 11:41 pm #71013
    TravisPri
    Member

    Hi there,

    I'm not a php master and I don't know how comfortable you are with it. I know that this is definitely possible, I'm just not 100% sure of the code to make it happen.

    Below is my shot at it. Try adding it to the bottom of your functions.php. BUT!! Make sure you have ftp access and a copy of functions.php before trying this code. If it doesn't work, it could give you the white screen of death, and you will need to upload your working functions.php code via ftp.

    //* Customize the post meta function
    add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
    function sp_post_meta_filter($post_meta) {
    if ( !is_page() ) {
    }
    else {
           $post_meta = '[post_categories before="Filed Under: "] [post_tags before="Tagged: "]';
    	return $post_meta;
    }

    [This is based on the code from here, designed allow you to customize post meta.]

    Hope it works! Let me know how it goes. And maybe someone else will chime in as well!

    November 5, 2013 at 9:59 am #71055
    awr
    Member

    Yup... white screen of death. 😉 Definitely appreciate the help though.

    I've done a ton of searching around about this one and I can't find anyone doing/trying to do anything similar.

    November 5, 2013 at 12:04 pm #71074
    TravisPri
    Member

    DARN. I thought I had it!

    Sorry!

    November 8, 2013 at 1:05 pm #71736
    awr
    Member

    Sorry to bump this, but I still can't figure this one out.

    Anyone else have any guesses?

    Thanks.

    July 28, 2014 at 7:54 pm #116175
    hburke
    Member

    Old question, but thought I would put in the solution I use for this issue.

    You can use CSS to hide the display of meta on given categories.

    For example, if my post category is 'Work Samples' the following CSS will hide the meta on that category only.

    .category-work-samples .entry-meta { display: none; }

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