WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Taxonomies and Tags (2 posts)

  1. geekjon
    Member
    Posted 4 years ago #

    Maybe someone could help with this or point me toward a tutorial. I am trying to figure out how to filter posts by multiple taxonomies and tags. Currently I can only filter posts by a single tag or taxonomy.

    The site is http://shirtoid.com/

    There are two taxonomies: "cut" and "color" and of course there are many different tags. I would like to be able to, for example, find all posts with cut=men & color=red & tag=cat

    I can probably figure out some sort of interface, but first I need help with how to form the query for this.

    Thanks in advance.

  2. MichaelH
    Member
    Posted 4 years ago #

    If it's just tags or categories, then you can use the tag__and or category__andarguments with query_posts().

Topic Closed

This topic has been closed to new replies.

About this Topic