• Hello!

    I hid the “Author Name” with the property “none”, but could not hide “On”.

    What do I need to hide “On”?

    Another question:
    Current WordPress date/time format set in WordPress General Settings is: 05/06/2024 / 21:05 (from Brazil). But I would like to change the format to [ x days ago ].

    Does anyone have a code for this?

    Thanks in Advance! 🙂

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I hid the “Author Name” with the property “none”, but could not hide “On”.

    What do I need to hide “On”?

    EDIT: If I understand this correctly, you’re using the “Latest Comments” block to display the comments.

    Unfortunately, looking at the HTML structure, I can’t think of any way to hide the “on” via CSS only, as the “on” has no markup.

    Current WordPress date/time format set in WordPress General Settings is: 05/06/2024 / 21:05 (from Brazil). But I would like to change the format to [ x days ago ].

    There are several plugins that do this elegantly:

    https://wordpress.org/plugins/wp-relativedate/

    https://wordpress.org/plugins/meks-time-ago/

    Good luck!

    Thread Starter doctorbr

    (@doctorbr)

    Hi, @gappiah 🙂

    Yes, I’m using the Latest Comments Block:

    Latest Comments block

    Maybe add a snippet to the WPCode plugin solves the problem. But I don’t know how to create the code. You would know?

    As for changing the date

    WP-RelativeDate seems to do what I need, but is it safe to use an old and not popular plugin like it?

    Meks time ago is more popular, but it seems to change only the date of the posts, not the comments.

    Thank you so much for answering. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to hide “On” from Latest Comments block and change the format of the date?’ is closed to new replies.