-
AuthorPosts
-
January 10, 2019 at 4:37 am #1052164
Hello,
I have some older articles that I often revise. Google always shows the release date. I would like to see the date of the last update next to the publication.
I’ve searched a lot in the forum and Google, but no solution worked properly.
Can you help me?
many Greetings
FlorianJanuary 10, 2019 at 6:37 pm #1052430Hey Florian,
Which element on this page are you referring to? To all the articles in all the masonries?
Best regards,
VictoriaJanuary 10, 2019 at 7:17 pm #1052444Hi Victoria,
we would like the update date (besides the creation date) for all articles.
I once attached two pictures. One shows where the update date should be. Right next to the creation date.
Google always shows the creation date, although the article is updated regularly.
best regards
Florian
January 12, 2019 at 2:56 pm #1053103Hi Florian,
I cannot seem to find the blog page, can you please share the link to it?
Best regards,
VictoriaJanuary 12, 2019 at 6:00 pm #1053160Hi Victoria,
Which side do you mean? We want to adjust the “last updated” in all blog articles.
Here is an example what we need:
https://www.wpbeginner.com/wp-tutorials/display-the-last-updated-date-of-your-posts-in-wordpress/We are looking for “Method 2: Add Last Updated Date in Theme Templates” in this article
Is something like this possible?
We already tried “Method 1: Show Last Updated Date Before Post Content”. This works, but this looks bad in our articles.
best regards
FlorianJanuary 15, 2019 at 12:55 am #1053898Hi,
Thanks for the update.
You need to modify the includes > loop-index.php file. Look for this code around line 268:
echo "<time class='date-container minor-meta updated' >".get_the_time(get_option('date_format'))."</time>";
// https://codex.wordpress.org/Function_Reference/get_the_modified_time
Best regards,
IsmaelJanuary 15, 2019 at 1:40 pm #1054117Hi Ismael,
Thank you. So the article always shows the update date. But I would like to show the date of the article and the update date.
But that is certainly more complicated? I’ll probably pay a programmer.
best regards
FlorianJanuary 15, 2019 at 3:11 pm #1054142Hi,
Yes, this would likely require the work of a freelancer.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.