-1

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.

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

1 Answer 1

2

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

http://codex.wordpress.org/Function_Reference/previous_post_link

http://codex.wordpress.org/Function_Reference/next_post_link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.