[Resolved] Display Date

  • Author
    Posts
  • #14735

    Nelson
    Participant

    Hi Andrew,

    I was just wondering if the theme will have an update where the modified date is displayed instead of the published date? With the sorting still based on the latter.

    Best regards,
    Nelson

    #14736

    Andrew Misplon
    Keymaster

    Hi Nelson

    Thanks for reaching out.

    That would be a custom development task. The ultra_posted_on function that outputs the date would need to be used in a child theme and customized to change which date is printed. To change the post order, you’d need to modify the posts query: https://wordpress.stackexchange.com/questions/154595/how-do-i-order-posts-by-modified-date. You can try the function posted in the above link in Code Snippets plugin and see if that helps. I’ll try to assist you tomorrow with changing the ultra_posted_on function.

    #14737

    Nelson
    Participant

    No worries, Andrew. I was actually referring to retaining the sort order based on the published date despite that it’s the modified date that’s on display. I’m currently looking at a plugin that displays the modified date so all good’s for now. Will let you know otherwise. Thanks!

    #14740

    Andrew Misplon
    Keymaster

    Ahh, I’m with you now. Yes, changing which date is displayed won’t impact the ordering of the post loop. Let me know how it goes with the plugin and perhaps which plugin you used. Thanks 🙂

    #14744

    Nelson
    Participant

    Sure thing, man. It’s WP Last Modified Info. Works wonders.

    #14745

    Andrew Misplon
    Keymaster

    Awesome, glad to hear it helps, thanks for the tip.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Scroll to top