This topic contains 7 replies, has 3 voices, and was last updated by Tom 2 days, 7 hours ago.
May 13, 2019 at 11:46 am #898203
I have followed this article on your site https://docs.generatepress.com/article/generate_post_date_output/#only-show-updated-date to show the updated date for the posts on my site.
Well, the code is working partly in my case. As soon as I updated the code in the functions.php file it was showing the updated date of the post. But I have an issue in this regard:
After inserting the code, I noticed that the articles which I scheduled for a future date, on publishing the single post pages are displaying the date of preparing the post and not the publishing date.
I think the code mentioned in the article above should display the date of publishing or the date of update whichever is later.
Otherwise for example, if I schedule a post to be published after one week, on publishing it would display a date seven days back of publishing.
Hope you understand my point. Thanks.May 13, 2019 at 12:34 pm #898229
Leo Customer SupportMay 14, 2019 at 5:54 am #898857
Sorry I am not using any post scheduler plugin. I am simply using the WordPress post schedule function. Hope you got it.May 15, 2019 at 10:21 am #900455
Hi, I am still waiting for your solution. ThanksMay 15, 2019 at 10:22 am #900458
Leo Customer SupportMay 15, 2019 at 3:52 pm #900773
Tom Lead DeveloperMay 16, 2019 at 9:36 am #901734
I tried deactivating all the plugins to check whether its a plugin conflict or not. I found that nothing was interfering and may the code misses some lines.
So far as WordPress bug is concerned, I would rule out such a possibility. Because prior to using GeneratePress theme I was working on Divi theme where I made such code changes with the support of the technical team to show the post modified date or post publishing date whichever is later in the single post page.
So I think you should have look at the code so that it behaves properly.
See the screenshots
http://prntscr.com/npgwf7 (it shows the publishing date in the WP backend)
http://prntscr.com/npgy36 (it shows the date of creating the post i.e. May 12, 2019 and not the date of publishing i.e. May 13, 2019)
Hope you will resolve the issue soon. Thanks.May 16, 2019 at 4:18 pm #902014
You must be logged in to reply to this topic.