WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found many pagination tutorials/plugins that work on pages displaying a list of posts such as index.php

E.g. - http://design.sparklette.net/teaches/how-to-add-wordpress-pagination-without-a-plugin

However I want this to display on single post pages (single.php) so you can navigate through to the next/prev post.

Any ideas?

share|improve this question

I know Twenty Eleven include this functionality by default and I've come to expect it as default behavior, so I hope I'm not missing something here.

You should be able to add this to single.php by using the previous_post_link() and next_post_link() functions.

share|improve this answer
thanks. I've already got prev/next post links. I'm trying to add a graphical style pagination to the page. – fxfuture Oct 7 '11 at 4:23
Ahh, I see now. Sorry about that. I'll look around a bit. – Jeremy Felt Oct 7 '11 at 4:28
this link might be helpful: kinocreative.co.uk/hints-and-tips/… – Michael Oct 7 '11 at 9:46

There's a built-in template tag for this: wp_link_pages(). It's used in Twentyeleven in content-page.php.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.