Posted by Epic Alex on Sun 18 May 10:44
report abuse | download | new post
- <?php $my_query =
- new WP_Query('category_name=My Cat&showposts=5');
- while ($my_query->have_posts()) : $my_query->the_post();
- $do_not_duplicate[] = get_the_ID();?>
- <!-- Do Stuff Here -->
- <?php endwhile ; ?>
- <?php query_posts('category_name=Second Cat&showposts=5'); ?>
- <?php while (have_posts()) : the_post();
- continue; update_post_caches($posts); ?>
- <!-- Do Stuff Again -->
- <?php endwhile ; ?>
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.