• 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

Genesis 2.0 – Help remove date and time from comments…

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 › Genesis 2.0 – Help remove date and time from comments…

This topic is: not resolved

Tagged: callback, custome callback, genesis, snippet

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 9 months ago by Forest_Parks.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 3, 2013 at 9:01 am #48968
    Forest_Parks
    Member

    I'm using Genesis 2.0 and having a simple issue.

    Below comments it displays comments_date and comments_time with an at between them and then an edit in a comments-meta div.

    I simply want to remove this. I don't know what hook to modify / filter to correctly do this.

    For now I was able to use these filters however I know it isn't correct and it leaves the 'at' wording which I was able to set to display: none.... However I just want to execute a function that will remove this whole line from a comment.

    //* Modify the author date in comments
    add_filter( 'get_comment_date', 'custom_comment_date' );
    function custom_comment_date() {
    return '';
    }

    //* Modify the author time in comments
    add_filter( 'get_comment_time', 'custom_comment_time' );
    function custom_comment_time() {
    return '';
    }

    Thanks in advance for your help.

    July 3, 2013 at 4:19 pm #49075
    DavidF
    Member

    Hi Forest,

    Have you tried using display:none for the CSS class?

    David


    David Frosdick WordPress Coaching

    July 3, 2013 at 4:57 pm #49087
    Forest_Parks
    Member

    Hey David, that's the easy option but of course it still loads and is in the code. Ideally i'd like to either just filter them out (so they don't load at all) or rewrite the function....

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