[Resolved] DateModified

Home Forums Support [Resolved] DateModified

Home Forums Support DateModified

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1068240
    93487u5tr938ouh4trnos8fyoh

    Hi,

    I want to display DateModified in the meta instead of the original date.

    I found this documentation: https://docs.generatepress.com/article/generate_post_date_output/

    However, I found online this code which was much smaller as CSS:

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

    I am looking for simple solutions like these as a non-coder I tend to get issues with custom code over time.

    My question is, is there a simple way to add time after the date so it can be added like “12:45 AM GMT+3” in that format.

    #1068288
    Leo
    Staff
    Customer Support

    Hi there,

    The CSS should be the way to go:
    https://docs.generatepress.com/article/show-the-updated-post-date/

    As for the time format, you can change that under WordPress general settings:
    https://wordpress.org/support/article/settings-general-screen/

    Let me know if this helps 🙂

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