[Resolved] Last Modified Date with Styled Meta Entry

Home Forums Support [Resolved] Last Modified Date with Styled Meta Entry

Home Forums Support Last Modified Date with Styled Meta Entry

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #662755
    Jeff

    Hi,

    I’m using the Entry Meta Style code from here:
    https://docs.generatepress.com/article/entry-meta-style/
    This works well.

    However I would like to show the modified date instead of the published date.

    I’ve tried using the function and CSS from here:
    https://gist.github.com/generatepress/57ef8336f9afec9bb42a
    but it removes the author.

    Any ideas?

    PS Also I’ve read that Google is now recommending both modified and published dates. Is there a best practice for this?

    #662822
    Leo
    Staff
    Customer Support

    Hi there,

    That github function is old.

    You should only have to do this now:
    https://docs.generatepress.com/article/show-the-updated-post-date/

    Let me know if this helps πŸ™‚

    #663015
    Jeff

    Awesome, works perfectly.

    My only question is, does the CSS solution work for search engines as well as humans? My main reason for doing this is to have the modified date shown in the search results.

    Thanks!

    #663418
    Leo
    Staff
    Customer Support

    Yup it will πŸ™‚

    No problem!

    #663448
    Jeff

    Thanks a lot!

    #663497
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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