WordPress.org

Ready to get started?Download WordPress

Forums

Way to list most recent category posts? (1 post)

  1. freezeb
    Member
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags