query_posts – show post only if cat=1 _and_ cat=2
-
okey. it was hard to get brief on the topic.. XD
The issue is that I want to show posts only if the two criterias is met. Now I got this:
query_posts('cat=1,2');
which means that it shows all posts in cat4 and cat5.
If I got a post that is cat1 and cat3 it would display on that page.
I only want to make a page that shows only posts that is in cat1 _and_ cat2. not only in cat1, not in cat1 and cat3, and so on.Is it some way to make a criteria like this one?
I’m not any good in php ;O
thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘query_posts – show post only if cat=1 _and_ cat=2’ is closed to new replies.