Hey guys ill try and simplify my question as much as possible...
I am currently showing two posts, and then a navigation, then I continue the post loop and I need to show 18 more posts after that. I have something setup but unfortunately it only shows 9 more.
Here is what I am doing
<?php $my_query = new WP_Query('category_name=music&showposts=2'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID ?> ALL MY CODE TO DISPLAY A POST <?php endwhile; ?> MY NAVIGATION BOX <?php if (have_posts()) : while (have_posts()) : the_post(); if (in_array($post->ID, $do_not_duplicate)) continue; update_post_caches($posts); ?> ALL MY CODE TO DISPLAY A POST <?php endwhile; endif; ?>
Can't figure out why it is only showing 9 more after the navigation box. Any help appreciated. (I dont want to ask to much but I also need to apply pagination to this somehow if anyone can point me in the right direction to figure that out too...)