Home › Forums › Back End › Have a WordPress update feed on a static HTML page? › Re: Have a WordPress update feed on a static HTML page?
November 12, 2009 at 10:11 am
#66491
Member
I found out how to do this:
Code:
query_posts(‘showposts=5&offset=1’); // Second loop, we get 5 posts excluding the most recent.
if (have_posts()) :
while (have_posts()) : the_post(); ?>
// WordPress loop
endwhile;
endif; ?>
if (have_posts()) :
while (have_posts()) : the_post(); ?>
// WordPress loop
endwhile;
endif; ?>
via http://www.wprecipes.com/avinash-asked-how-to-use-two-different-wordpress-loops