[Support request] Updated Post Date on Homepage for Dispatch theme

Home Forums Support [Support request] Updated Post Date on Homepage for Dispatch theme

Home Forums Support Updated Post Date on Homepage for Dispatch theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #810944
    kunal

    Hi Guys, this is a quick question. I’ve updated my new theme (Dispatch) to include the “update date” for each post. I got php, and individual posts to change, but how do I get the dates on the homepage to reflect the updated post date (right now, it shows the original date the post was written).

    For example, the post “A sample with comments” was originally written on August 22 2018, but the updated version is Feb 14 2018 (today), so I would want the date on the homepage to show the updated date.

    Thanks
    Kunal

    #811126
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .wp-show-posts-entry-date {
        display: none;
    }
    
    .wp-show-posts-updated {
        display: block;
    }
    #811400
    kunal

    This is perfect! thanks for your help David!

    Kunal

    #811407
    David
    Staff
    Customer Support

    You’re welcome. Great to see the Dispatch site being used 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.