WordPress.org

Ready to get started?Download WordPress

Forums

How to filter posts for Union or intersection (4 posts)

  1. jephperro4
    Member
    Posted 6 years ago #

    Hi there,

    Can someone tell me how I can filter the posts in my blog to get the Union or intersection of Categories?

    I noticed that if I use ?cat=1,3 I get the union of all posts in category 1 or category 3.

    Is there a way I can only show posts that are in both category 1 AND category 3?

    Jeff

  2. jephperro4
    Member
    Posted 6 years ago #

    Anyone?

  3. nolageek
    Member
    Posted 6 years ago #

  4. ravenheart
    Member
    Posted 6 years ago #

    I want to do exactly the same thing, but within query_posts.

    Is there a way?

Topic Closed

This topic has been closed to new replies.

About this Topic