WordPress.org

Ready to get started?Download WordPress

Forums

order posts by date of last image attachment? (1 post)

  1. deepbevel
    Member
    Posted 2 years ago #

    Just wondering if there's a way, order all posts in a category, post with most recent image attacment first, post with 2nd most recent image attachment next, ect..

    I know a wee bit about query filters, I've searched around but I've haven't encountered any code that would sort posts in this way. I imagine it involves some kind of prior checking for attachments, filter the most recent attachment for each post, then order all attachments by date. Or something like that!

    I'm out of my league. Can't find that plugin either. Any help greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.