How do I change my post times to "hours ago"

Posted in: Newspaper
Post count: 15

Right now when I post it says the date I’ve posted whereas I would want it to be more specific before 24 hours to be “3 hours ago” for example. Is this possible?

Post count: 35449

Hi,

If you want to use the “Time ago format” you need to use a single post template from tagDiv Cloud Library and edit it with tagDiv Composer click on single post date and enable the “Time ago format” -> https://www.screencast.com/t/2G5ogZnde0JZ

Thank you!

Post count: 15

Hello, on the actual post itself yes but when I do flex block on the homepage, there is no option. Its only showing the date. Would it be possible to do on flex block?

Post count: 35449

Hi,

On flex blocks you can use the option for modified date only -> https://i.imgur.com/qmM9X19.png the time ago option is available only inside the post at this moment.

Thank you for your understanding!

Post count: 15

Is there anyway at all that one of the blocks or any of them show hours ago on the homepage?

Post count: 35449

Hi kv2020, since there is no option for this, you can achieve the hours ago on blocks only with custom work.
For this you can use this article -> https://mekshq.com/change-wordpress-date-format-to-time-ago/ or the official documentation -> https://developer.wordpress.org/reference/functions/human_time_diff/
There are also plugins that can be use for this -> https://wordpress.org/plugins/meks-time-ago/

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.