• 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

Show Blog date on certain pages

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 › General Discussion › Show Blog date on certain pages

This topic is: not resolved

Tagged: blog date

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 7 months ago by nutsandbolts.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 22, 2013 at 8:45 pm #68317
    SimplyAA
    Member

    Mine is more of a general question for any theme. I have several pages that I would like to put blog posts on. I want the blog date and category to show on some of the pages, but not on others. I know how to remove the date and category but how can I limit that to specific pages?

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

    Thanks for any help.


    Angela

    October 22, 2013 at 9:47 pm #68332
    nutsandbolts
    Member

    You can use a conditional for the specific post IDs, similar to this tutorial: http://www.blogence.com/remove-post-info-and-post-meta-from-category-and-tag-pages-genesis/ (That's not an exact fit, but if you read up on conditional tags you'll be able to pick and choose where the post meta and post info show up.)


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

    October 23, 2013 at 6:44 pm #68520
    SimplyAA
    Member

    Thanks so much. That article led me to this article and it worked perfectly! Thanks again.

    http://wpsites.net/web-design/modify-post-info-genesis/


    Angela

    November 7, 2013 at 7:12 pm #71581
    CathyEarle
    Member

    I'm using the minimum pro theme and trying to to the same thing (remove date and category from specific categories) but nothing is working.

    I have tried removing them from all the pages using the code below but no success:

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

    Also tried the following link - no luck.
    http://wpsites.net/web-design/remove-post-meta-pages-posts-archives/

    Tried adding to CSS: no luck:

    `// Removes Post Info From Team Page
    .category-31 .post-meta,
    .categories,
    .tags {
    display: none !important;
    }

    For now I've resorted to removing them from Genesis Simple Edits but it doesn't resolve my issue with only wanting to remove them from certain category pages.

    Suggestions?

    November 7, 2013 at 7:14 pm #71582
    nutsandbolts
    Member

    Minimum Pro is HTML5, so the codes you listed are using the wrong hooks. Try these:

    //* Remove post info */
    remove_action( 'genesis_entry_header', 'genesis_post_info' );
    
    //* Remove the post meta function
    remove_action( 'genesis_entry_header', '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+

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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