Forums

Posts in three-level order - by year, category, and author (2 posts)

  1. casista
    Member
    Posted 2 years ago #

    hi,
    can't figure out how to disply my posts by (1) month, then by (2) section and finally (3) alphabetically by author (inside every section).
    how would you go at it? categories + subcategories? tags?

    example:
    January 2009

    -Tennis
    --post by Bob
    --post by Chip
    --post by John

    -Football
    --post by James
    --post by Tom

    -Rugby
    etc

    February 2009
    etc
    etc
    etc

    thanks for your help!

    Casista

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    You would need to query the posts table with wpdb joining the taxonomy and usermeta tables and ordering by year, category, and author.

    Some plugins that you might like:
    specific:
    http://wordpress.org/extend/plugins/wp-smart-sort/
    http://wordpress.org/extend/plugins/clean-archives-reloaded/
    http://wordpress.org/extend/plugins/sitemap-generator/

    generic:
    http://wordpress.org/extend/plugins/tags/archive
    http://wordpress.org/extend/plugins/tags/archives

Topic Closed

This topic has been closed to new replies.

About this Topic