• 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

metro theme hide date in post

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 › metro theme hide date in post

This topic is: resolved

Tagged: hide date, Metro

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 5 months ago by RobG.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 4, 2014 at 5:24 pm #83270
    johnbogs
    Member

    I have the metro theme and I'm trying to find how to hide the date in all the posts.

    I was able to hide it in the posts associated with the widgets and that handled teh home page but the date still appears in teh posts.

    Suggestion?

    thank you!

    http://www.horsemoms.com/are-your-horse-treats-safe/
    January 4, 2014 at 5:55 pm #83275
    Ginger
    Participant

    Hello, I do not know where to edit this in the code, but I believe with the Genesis Simple Edits plug-in you can remove the date from your posts byline. I'm new here so if I'm wrong please don't hold it against me 🙂


    @gscoolidge | Support Nerd | Website Producer/Tweaker | IDX Integrations | Hosting Options

    January 4, 2014 at 6:02 pm #83276
    RobG
    Member

    Normally all you would need to do is remove the short codes for the date in your function.php like this ( [ post_date ] )
    I did install the Metro pro theme on my demo site but did not see this function for the date and other functions strange.

    Add the following php codes to your function and it will hide the date from displaying. Try to display this snippet some were in between your function codes so that it will not break anything on your site. I tested this snippet and it work like a charm. Hope this helps

    // Remove post date in Genesis post info
     
    add_filter( 'genesis_post_info', 'post_info_filter' );
     
    function post_info_filter($post_info) {
    if ( !is_page() ) {
        $post_info = 'By [post_author_posts_link] [post_comments] [post_edit]';
        return $post_info;
    }}
    
    

    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    January 4, 2014 at 8:01 pm #83304
    johnbogs
    Member

    I appreciate the effort txgspice.

    And Rob... AWESOME work!

    Thank you.

    January 5, 2014 at 9:42 am #83372
    RobG
    Member

    You're very welcome John glad I could help


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

  • 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