hi,
I'm trying to select all posts from one category. I do this multiple times one a page. So the codex says I need to make a new object:
(from: the codex)
<?php $my_query = new WP_Query('category_name=special_cat&showposts=10'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<!-- Do special_cat stuff... -->
<?php endwhile; ?>
I made a category named special_cat en I tried to replace 'special_cat' with an existing category..., but the array always return empty!
Anyone has the same problem?