Post emergency WordPress questions for fast help... ...Or answer questions first & win prize money.

$45
post_nav_link

Hey,

I got a pretty simple and basic loop and I'm looking to tweak the previous/next_post_link

Here's what I have now:


<div id="postnavi">
<div class="alignleft"><?php previous_posts_link(); ?></div>
<div class="alignright"><?php next_posts_link(); ?></div>
</div>


And I would like to display a list of the previous posts, the ones that show up on page/2/ and page/3/. Basically what I'd like is to offset one list by 10 (or any other number) and the other list by 20 so I have 2 lists on each subsequent page.

A good example of what I mean would be http://www.treehugger.com/

See at the bottom where it says 'Keep Rolling. Hit the Next Page >' that whole section is what I'm looking for. I was able to get it to work on the homepage by create a WP query and offsetting the list, but then on page/2 it stops working (obviously)

Any help with this would be greatly appreciated ;)

EDIT: I think Lew's solution would work pretty well. Lemme just try it out and I'll select the winner shortly. Thanks!

Jon Phillips | 04/16/10 at 10:27am | RSS Answers | Tags

(3) Possible Answers Submitted...

You must be logged in to view answers or answer this question.