Site logo

Archived topic

page header template tags - updated date

3 replies · Started by Emir on September 18, 2017

Viewing posts 1–4 of 4

Hello, I use 3 CSS to change posted date to updated date and all work excellent, but after I made header for all posts with auto-pickup heading title, picture, and date, {{post_date}} showing me again date when it was posted not updated.can you tell me what I should put instead {{post_date}} so I can see updated date again. I try {{post_updated_date}} and something similar but not work.
this CSS I use :
.posted-on .updated {
display: inline-block;
}

.posted-on .published {
display: none;
}

.posted-on .updated:before {
content: "Last updated: ";
}

Regards,
Emir

You would need to do this for the page header:

.page-header-content .published {
    display: none;
}

.page-header-content .updated {
    display: block !important;
}

.page-header-content .updated:before {
    content: "Last updated: ";
}

Thank you very much, work like a charm.Additionally, I find here on forum CSS for mobile font sizes so I am ready for some post now.I rebuilding my page completely just to instal your theme and I don't have any regrets.Great work and again thanks for the help.
Best regards,
Emir

Glad I could help! :)

This archived topic is closed to new replies.