Afternoon everyone :)
I've got a little issue I can't seem to resolve on my own, so I turn to you, the amazing WordPress community!
Here's the skinny on my code:
<?php
// hack, shows only the most recent sticky post
$sticky = get_option('sticky_posts');
$wp_query = new WP_Query(array('post_in' => $sticky, 'caller_get_posts' => 1, 'orderby' => ID, 'showposts' => 1));
?>
<?php while (have_posts()) : the_post(); ?>
<!-- loop code, not important here -->
<?php endwhile; wp_reset_query(); ?>
<?php query_posts(array('post__not_in' => get_option('sticky_posts'))); // exclude all sticky posts ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- more loop code, not important either -->
<?php endif; wp_reset_query(); ?>
The issue here is that it looks beautiful on the front page with my single most recent sticky post on top, followed by every other post (excluding stickies). However, once I page over, the same 5 posts from the 2nd loop that were on the front page continue to show again and again.
I'd appreciate some help, thank you!