WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Categories on Sidebar (3 posts)

  1. zonetrap
    Member
    Posted 8 years ago #

    Hopefully someone knows how to do this, I think its a looping feature, but not sure.

    I have 6 categories. On my sidebar I want them divided up into 3 sections, Articles, Interviews, and News.

    So lets say I want the Articles section first. If I use wp_list_cats and exclude categories, 5,6 , cats 1,2,3,4 will show.

    But then I want to use cat 5 for the Interviews section. It won't show up because the first wp_list_cats trumps it.

    Can anyone help me here?
    Thank you

  2. moshu
    Member
    Posted 8 years ago #

    One option would be to create 3 main categories: Articles, Interviews, and News and make the rest of the 6 existing categories their sub-categories.

  3. zonetrap
    Member
    Posted 8 years ago #

    Thanks moshu,
    I was thinking the same thing.

    I guess I was figuring there was a possibility to use the query_posts code and loop it somehow.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.