Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #106166
    Ashley
    Participant

    I’ve been working on going back and freshening up some old posts on my site (http://bigflavorstinykitchen.com/) and would like to display the date that each post was last modified in addition to the original publish date. Do I need custom CSS to display last modified?

    Thank you!

    #106186
    Pratik
    Participant

    Hi Ashley,

    I checked the site and it has updated date. Did you solve it?

    Regards,
    Pratik

    #106194
    Ashley
    Participant

    No – I don’t see an updated date anywhere. Here’s an example of one post that was originally published on Dec 24, 2012 but was updated yesterday (Dec 30, 2016): http://bigflavorstinykitchen.com/ricotta-cookies/

    #106224
    Pratik
    Participant

    Hi @Ashley,

    Ok I get it now. For that, you need to create a child theme. For child theme details, view http://catchthemes.com/blog/create-child-theme-wordpress/

    Then in child theme’s functions.php file, add in following code: http://pastebin.com/bjTHFaVv.

    Regards,
    Pratik

    #108702
    Ashley
    Participant

    This seemed to have worked, but there are a lot of posts that have “last updated” dates that are incorrect. An example this post that shows “Last Updated December 18, 2016”, yet when I go into the post and revisions, the current revision is from “3 years ago (31 May @ 20:55)”. The post was originally published on Jun 1, 2014.

    The date December 18, 2016 seems to be showing up on a lot of the posts, but not all of them.

    Any thoughts on what’s going wrong here? Much appreciated!

    #108703
    Pratik
    Participant

    Hi @Ashley,

    I am sorry but it will be difficult for me to debug this issue without any codes or admin access. And that falls beond the scope of this support forum.

    Maybe you can try and update the post and see if the new updated date takes effect or not.

    Regards,
    Pratik

    #108735
    Ashley
    Participant

    Thanks for the response, Pratik. Have a great weekend!

    #108784
    Pratik
    Participant

    Hi @ashleycovelli,

    Thank you for the appreciation.

    Regards,
    Pratik

    #108815
    Ashley
    Participant

    It’s been sorted out. Unfortunately, a plugin we use to optimize our WP database has modified most of my posts within the past month. Unfortunately WordPress doesn’t seem to have a way to display the latest revision date instead of the latest modified date. Thanks anyway for the help!

    #108842
    Pratik
    Participant

    Hi @ashleycovelli,

    Thank you for sharing the outcome with us. It will be helpful for may of our users.

    Regards,
    Pratik

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How to show "last modified" date on posts’ is closed to new replies.