• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Display and identify both the post and update date.

Display and identify both the post and update date.

  • Unknown's avatar
    viatorlassus · Member · Oct 14, 2017 at 4:05 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    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)

  • Unknown's avatar
    timethief · Member · Oct 15, 2017 at 9:19 pm
    • Copy link Copy link

    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 to

    http://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.

  • Unknown's avatar
    viatorlassus · Member · Oct 15, 2017 at 11:56 pm
    • Copy link Copy link

    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.

  • Unknown's avatar
    timethief · Member · Oct 16, 2017 at 1:51 am
    • Copy link Copy link

    Staff will follow-up here as soon as they can.

  • Unknown's avatar
    thesacredpath · Member · Oct 17, 2017 at 3:14 am
    • Copy link Copy link

    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.

  • Unknown's avatar
    viatorlassus · Member · Oct 17, 2017 at 4:20 am
    • Copy link Copy link

    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?

  • Unknown's avatar
    thesacredpath · Member · Oct 18, 2017 at 7:52 pm
    • Copy link Copy link

    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;
    }
  • Unknown's avatar
    viatorlassus · Member · Oct 19, 2017 at 4:30 am
    • Copy link Copy link

    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.

  • Unknown's avatar
    thesacredpath · Member · Oct 19, 2017 at 9:41 pm
    • Copy link Copy link

    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.

Tags

  • byline
  • libre
  • published date
  • retired theme
  • revision date
  • update date

About this topic

  • In: CSS Customization
  • 3 participants
  • 8 replies
  • Last activity 8 years
  • Latest reply from viatorlassus

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions