Multiple Category Requirement in Loop
-
Hi!
I’d like to make a requirement for multiple categories for the select posts to be displayed. Here’s the part of my loop I need to adjust.
<?php query_posts(array(‘category_name’ => uncategorized, ‘showposts’ => 2)); if (have_posts()) : while (have_posts()) : the_post(); ?>
I need posts with both the uncategorized and nightlife categories checked.
How can I best do this?
Much thanks,
Lara
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Multiple Category Requirement in Loop’ is closed to new replies.