Title: Displaying post modification date
Last modified: August 30, 2016

---

# Displaying post modification date

 *  Resolved [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/)
 * First of all, thanks for this very good plugin!
 * I discovered the plugin only some days ago and I’m [using](http://dflect.net/en/)
   it, amongst others, to display the last modified posts.
 * I was looking for the option to display the post’s modification date but so far
   I only found the one for the creation date.
 * For the moment I helped myself by replacing `get_the_date()` with `get_the_modified_date()`
   in pis-functions.php. Of course, this way I’m losing the option to display the
   creation date. (Not that I consider post creation dates very useful, but who 
   knows when I might need it 😉
 * Any chances that you will add an option to display the modification date out 
   of the box?
 * (Or is it well hidden somewhere and I just didn’t find it?)
 * Tom
 * [https://wordpress.org/plugins/posts-in-sidebar/](https://wordpress.org/plugins/posts-in-sidebar/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721911)
 * Hi Tom!
 * > First of all, thanks for this very good plugin!
 * You’re very welcome!
 * > I was looking for the option to display the post’s modification date…
 * I can add an option to display the modification date. It’s not a problem. 🙂 
   I’ll add it in the next release. The user will have the choice to display the
   publication date or the modification date. Do you think it’s enough or a user
   could need to display both?
 *  Thread Starter [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721912)
 * > I can add an option to display the modification date. It’s not a problem. 🙂
   > I’ll add it in the next release.
 * Thank you!
 * > The user will have the choice to display the publication date or the modification
   > date. Do you think it’s enough or a user could need to display both?
 * For me personally this is perfectly fine.
 * IMO, when a modified date exists that is not equal to the creation date, the 
   creation date loses importance anyway. The creation date then becomes a mere 
   historical information. (Always assuming that the author has taken measures to
   prevent minor modifications (typo corrections etc.) from affecting the modified
   date.) So I don’t see much need to display the creation date at all, even less
   displaying both, in a widget.
 * But, of course, other people will have different point of views…, so —_for the
   sake of completeness_, and when you have time to spare— Yes, I would, someday,
   implement the possibility to display both at the same time 😉
 * But, again, me personally, I’m completely content and happy that you will add
   the option to display the modified date _instead_ of the creation date.
 * Cheers,
    Tom
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721970)
 * Hello Tom,
    I just added the option to display the modification date. The new
   code is not published yet.
 * The modification date is displayed under these two conditions:
    1. if the creation date is not displayed OR
    2. if the creation date is displayed AND the modification date is different from
       the creation date.
 * This in order to avoid the displaying of two identical dates.
 * In other words: if the user has chosen to display only the modification date,
   this is always displayed; if the user has chosen to display both the publication
   date and the modification date, the plugin will show the modification date only
   if it’s different from the publication date.
 * Before pushing the new code, could you give me a feedback? What do you think?
 *  Thread Starter [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721975)
 * Sorry for the late reply.
 * > if the user has chosen to display only the modification date, this is always
   > displayed; if the user has chosen to display both the publication date and 
   > the modification date, the plugin will show the modification date only if it’s
   > different from the publication date.
 * This sounds … quite perfect 🙂
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721976)
 * New version 3.1 pushed. 🙂
 * Thanks [@ecdltf](https://wordpress.org/support/users/ecdltf/) for your posts.
 *  Thread Starter [ecdltf](https://wordpress.org/support/users/ecdltf/)
 * (@ecdltf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721982)
 * It works great, perfect!
 * Thank you very much for the great support (and for the plugin, of course!).
 * I’ve already added it to my [list of Essential WordPress Plugins](http://dflect.net/essential-wordpress-plugins/)
   🙂
 * Tom
 *  Plugin Author [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721999)
 * Thank you [@ecdltf](https://wordpress.org/support/users/ecdltf/)! I’m very honoured
   by your review! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Displaying post modification date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-in-sidebar_aed6f1.svg)
 * [Posts in Sidebar](https://wordpress.org/plugins/posts-in-sidebar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-sidebar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-sidebar/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-sidebar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-sidebar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-sidebar/reviews/)

## Tags

 * [modified date](https://wordpress.org/support/topic-tag/modified-date/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [timestamp](https://wordpress.org/support/topic-tag/timestamp/)

 * 7 replies
 * 2 participants
 * Last reply from: [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/displaying-post-modification-date/#post-6721999)
 * Status: resolved