Site logo

[Support request] Remove Comment Date and Time – Using comments.php

Home Forums Support [Support request] Remove Comment Date and Time – Using comments.php

Home Forums Support Remove Comment Date and Time – Using comments.php

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts
  • #1668080
    Tom
    Lead Developer
    Lead Developer

    Correct – I’ll be sure to filter the entire output so both things are possible.

    #1668168
    Jesse

    That would be amazing! Thanks so much!!

    Best regards,
    Jesse

    #1717202
    Jesse

    Hello Tom,

    Just wanted to check in and see if there is an updated ETA on v3.1.0?

    Best regards,
    Jesse

    #1717282
    Elvin
    Staff
    Customer Support

    Hi Jesse,

    It’s still in active development but Tom has yet to give an ETA.

    You can monitor its activities if you like though. The github page is public. 🙂
    https://github.com/tomusborne/generatepress/tree/release/3.1.0

    #1751573
    Jesse

    Hello,

    I see the theme was updated to v3.0.3 today. Is it possible now to completely remove (not hide) the comment date and time stamp via filters as Tom mentioned here would be available in v3.1? Not sure if that capability was added to today’s release or if I need to keep waiting.

    Best regards,
    Jesse

    #1751777
    Elvin
    Staff
    Customer Support

    Hi there,

    There’s no release for the theme today. Perhaps what you saw is the GP Premium 2.0 official release.

    As for the filter in question:

    This isn’t implemented yet. There may have been delays to fast-track the release of GP Premium 2.0.

    I’ll follow this up with Tom and see if he has any updates for this he’s yet to push on the github page.

    #1751781
    Jesse

    Hi Elvin,

    Yes, it was the GP Premium update that I was referring to today.

    Any updates you can provide on ETA for the theme update would be great!

    Best regards,
    Jesse

    #1751836
    Elvin
    Staff
    Customer Support

    Tom has yet to give out any ETAs for 3.1.

    I’ll make sure to reply to this thread once I get any word from Tom. 🙂

    #1756192
    Tom
    Lead Developer
    Lead Developer

    3.1 is next on the list, we’ll be sure to get this filter added 🙂

    #1977022
    Jesse

    Hi Tom,

    I see there was an update today! (I have been waiting for a long time lol)

    Did this update happen to include the filter that was mentioned here: https://generatepress.com/forums/topic/remove-comment-date-and-time-using-comments-php/#post-1665933

    Best regards,
    Jesse

    #1977068
    Elvin
    Staff
    Customer Support

    Hi Jesse,

    You can see the direct changes here – https://github.com/tomusborne/generatepress/blob/master/inc/structure/comments.php

    Which is in the changelog – https://generatepress.com/generatepress-3-1-global-colors-dynamic-typography/

    New: generate_after_comment_author_name hook
    New: generate_show_comment_entry_meta filter

    Now that there’s a condition, we can filter it to false so it doesn’t display.

    #1981458
    Jesse

    Thanks, Elvin. I added this filter, but it doesn’t seem to be doing anything. Did I use the correct format? The comment date and timestamps are still there.

    add_filter( 'generate_show_comment_entry_meta', '__return_false' );

    Best,
    Jesse

    #1981462
    Elvin
    Staff
    Customer Support

    Can you confirm you’re using the latest update of GP Premium?

    The exact same code works on my end. See this sample post – https://dev-generate-press.pantheonsite.io/quasi-nostrum-dolor-voluptatibus/#comment-4

    You can see that the commenter doesn’t have any entry meta underneath – https://share.getcloudapp.com/8Lu9rox6

    #1981469
    Jesse

    Yes, I just updated to version 2.1.1 which appears to be the latest version. I deleted the filter and then added it again via the Snippets plugin, but still no luck. I’m still seeing the date and timestamps on each comment. I also made sure to clear my cache.

    Best,
    Jesse

    #1981498
    Elvin
    Staff
    Customer Support

    This fix is applied to the theme itself so it’s the theme that should be updated.

    This is applied on GeneratePress 3.1.0. 😀

Viewing 15 posts - 16 through 30 (of 34 total)
  • You must be logged in to reply to this topic.