• Is there a way to display posts that are common to two or more categories?

    I use this

    query_posts(‘cat=2,4,6,8’);

    to display posts that belong to either/or all these categories.

    In a certain section, I want to display items which are common to ALL these four categories.

    Can this be done with query_posts?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posts common to two or more categories’ is closed to new replies.