[Support request] Order blog post by “Last Updated” and not “Published Date”

Home Forums Support [Support request] Order blog post by “Last Updated” and not “Published Date”

Home Forums Support Order blog post by “Last Updated” and not “Published Date”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2250551
    John

    I display the “Last Updated” date in my posts rather than “Published Date”, however, the order of my blog posts goes by the latter. How do I bump posts to the top of the blog when I update the post without editing the publish date?

    Is this something I can select in the GP theme, so do I need to edit my CSS?

    I have the following in CSS:

    .posted-on .updated {
    display: block;
    }
    .posted-on .published {
    display: none;
    }
    .posted-on .updated:before {
    content: “Last updated: “;
    }

    #2250554
    Leo
    Staff
    Customer Support

    Hi John,

    How do I bump posts to the top of the blog when I update the post without editing the publish date?

    This isn’t something a theme (any themes) can control as the post loop is 100% handled by WP core.

    Try Tom’s solution here:
    https://generatepress.com/forums/topic/last-modified-date-and-list-my-posts-based-on-modified-date/#post-727642

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