Should get_posts(“category__and=1,2”) work?
-
Does anyone know if a statement like below should work?
$theposts = get_posts(“category__and=1,2”);
I have tried several variations but I just can’t seem to get the formatting correct it just seems to return any post/no posts/none matching posting etc. The get_posts help page says you can use query_posts parameters.
Anyone know what I am doing wrong?
TIA
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Should get_posts(“category__and=1,2”) work?’ is closed to new replies.