Site logo

[Support request] Blog displaying 2 dates side by side, but one is hidden in code?

Home Forums Support [Support request] Blog displaying 2 dates side by side, but one is hidden in code?

Home Forums Support Blog displaying 2 dates side by side, but one is hidden in code?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2587829
    Ryan

    Please help. Viewing my source code, the theme is coding the dateModified and datePublished, simultaneously. But viewing it in the browser, it seems the CSS is hiding one of them? I only want it to post the datePublished, so only the published date is display – not both.

    #2587879
    Leo
    Staff
    Customer Support

    Hi Ryan,

    Viewing my source code, the theme is coding the dateModified and datePublished

    This is something WP does and not the theme.

    By default, only the published date should display at the front end and it actually requires CSS to show the published date:
    https://docs.generatepress.com/article/show-the-updated-post-date/

    Can you disable WP Rocket first?

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