subirghosh
Member
Posted 5 years ago #
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?
subirghosh
Member
Posted 5 years ago #
Conditional tags:
if ( in_category(2) && in_category(4) && in_category(6) ... etc. after the foreach?
subirghosh
Member
Posted 5 years ago #
Thanks azaozz I will check it out. Will post the feedback here so that I can be of use to others too.
siounis
Member
Posted 5 years ago #
doesn't work yo
real curious about all this.
maxblast
Member
Posted 5 years ago #
Did you guys figure something out to solve that problem? same problem here!
siounis
Member
Posted 5 years ago #