Display and identify both the post and update date.
-
This CSS appears to display the update date in addition to the publication date.
.byline, .updated:not(.published) {display: block;}
The Libre theme does not label the byline data. How do I force a label to display identifying which is which?
As in “posted” and “last updated.”
The blog I need help with is: (visible only to logged in users)
-
Have you tried Libre 2? See: here https://wordpress.com/theme/libre-2 It’s an updated version of the retired Libre theme which does not support all WordPress.com features.
re: switching themes
Themes are just “skins” on WordPress.COM hosted blogs.
Note that switching themes https://en.support.wordpress.com/themes/#switch-themes can be easily done, provided you are logged in as Admin under the same username account that registered the site, you tohttp://NAME_OF_BLOG.wordpress.com/wp-admin/themes.php
*Replace NAME_OF_BLOG in that URL with the actual name of your blog. wp-admin/themes.php
We have a preview function. No content is lost when switching themes on WordPress.COM hosted blogs. It does not matter if the site is private or public.
-
I looked at Libre 2.
Does the theme support display of the post revision/update date without using custom CSS?
Maybe I missed something but I didn’t see that. I will likely switch anyway but if it does not I still have the same question.
-
-
Does the theme support display of the post revision/update date without using custom CSS?
Hi there, I am unaware of any theme here at WordPress.com that shows a revision date on posts, and that is not something that can be done with CSS. CSS is a styling document used by browsers to style and position the elements of a web page and cannot be used to add or change functionality.
To add a revision date, you would have to modify the theme php script files themselves, and that is not something that could be done with the Premium plan or lower, it would require the Business Plan upgrade and some knowledge of php.
-
I tried the code and it appears to display the revision date below the publication date.
What I am looking for is some way to display a label for which is which.
Why wouldn’t this be available in a theme?
-
Huh, I didn’t know that Libre had the updated date in the html.
This will display the update date and put “Updated: ” in front of it.
.byline, .updated:not(.published):before { content: "Updated: "; } .byline, .updated:not(.published) { display: block; } -
Thank you, that worked!
Just out of curiosity is there a reason this wouldn’t be commonly available in a theme. I don’t see this displayed very often.
-
Generally, it is seldom requested or used. Typically, except maybe for typos or such, posts aren’t edited after publishing. It is actually quite uncommon to find it in a theme.
- The topic ‘Display and identify both the post and update date.’ is closed to new replies.