Archived topic
I have same date for all my post
5 replies · Started by Impulsa on April 4, 2021
Hello,
Yesterday I´ve published a new post on my blog but still shows the same date as the previous post.
Could you please check what could be the error?
Thanks in advance,
Hi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know :)
Hi Leo,
Thanks for the reply. I disabled all plugins except GP Premium and Generate blocks.
Hi there,
Your posts display the same date because they're published on the same date.
If we check the page source we can see that they actually differ in the time stamp. Also, their modified dates differ a lot. Some were edited on March 29th and some on the 30th.
That said, do you want to display the post's modified/updated date?
If that's the case, try this PHP snippet.
add_filter( 'generate_post_date_show_updated_only', '__return_true' );
Here's how to add PHP snippets - https://docs.generatepress.com/article/adding-php/
Hello Elvin,
Sorry for the late reply, the date is now showing up correctly.
Thanks for the help.
Nice one. Glad you got it sorted out. No problem.