WordPress.org

Support

Support » How-To and Troubleshooting » Way to list most recent category posts?

Way to list most recent category posts?

  • I am using WordPress 2.1.

    I need to list the 3 categories most recently associated with posts.

    Post 1 (oldest): categories 1, 2, 3
    Post 2: categories 2, 4
    Post 3: categories 1, 4, 5
    Post 4 (most recent): categories 1, 6

    Given these posts, the categories associated with the posts in descending post date order are:

    1
    6
    1
    4
    5
    2
    4
    1
    2
    3

    I want to see the 3 most recent, unique categories — i.e., 1, 6, and 4.

    Can this be done? If so, how would I do this?

  • The topic ‘Way to list most recent category posts?’ is closed to new replies.
Skip to toolbar