• Resolved ecdltf

    (@ecdltf)


    First of all, thanks for this very good plugin!

    I discovered the plugin only some days ago and I’m using 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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    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

    (@ecdltf)

    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

    (@aldolat)

    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

    (@ecdltf)

    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

    (@aldolat)

    New version 3.1 pushed. 🙂

    Thanks @ecdltf for your posts.

    Thread Starter ecdltf

    (@ecdltf)

    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 🙂

    Tom

    Plugin Author Aldo Latino

    (@aldolat)

    Thank you @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.