multiple query_posts into one "AND"
-
I would like to know how to merge several queries into one. Now I do several query_post but I should be possible with just one.
For example:
(show a certain post)
$args = array( 'p' => 3 )
AND
(show the latest 25 posts)
$args = array( 'showposts' => 25 );
AND
(show posts in categories at all times)
$args = array( 'category__in' => array(6,7,41) );
Thanks in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘multiple query_posts into one "AND"’ is closed to new replies.