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

I have spent days looking for a WordPress plugin to automatically add next and previous links to the bottom of each post. I have found loads of plugins but I want one that will restrict the posts shown to posts in the same category.

I really dont know anything about php to write a custom plugin myself so any suggestions would be very much appreciated.

share|improve this question

migrated from Oct 24 '11 at 18:07

This question came from our site for professional and enthusiast programmers.

The Codex is your friend. There are core WordPress template tags for this. See @songdogtech's answer, below. – Chip Bennett Oct 24 '11 at 18:10

1 Answer 1

No need for a plugin; see the docs for the parameters of next_post_link and previous_post_link

share|improve this answer

Your Answer


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