[Resolved] Last Updated instead of Published Date on Posts

Home Forums Support Last Updated instead of Published Date on Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1441678
    Rika

    Hi Support,

    As a non-techie can you please provide me with the CSS code for the following:

    I would like to replace the published date with a last updated date. It should look like this:

    Last Updated on “date” by “author”

    The published date should be removed.

    The “last updated on” should be in bold.

    Thanks very much in advance.

    PS: What are your take on changing the publish date to last updated? Is it a good or bad thing?

    Thanks

    #1441705
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This should help:

    .posted-on .updated {
        display: inline-block;
    }
    
    .posted-on .updated + .entry-date {
        display: none;
    }
    
    .posted-on .updated:before {
        content: "Last Updated on";
        font-weight: bold;
    }

    Definitely not a bad idea – people like to know how current the content they’re reading is 🙂

    #1441972
    Rika

    Thank you Tom:)

    Great support!

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