WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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 would like to know how to link the next and previous post of the current post with in that category..i tried lotta plugins put nothing worked out and I am a noob in WP so kindly help me

share|improve this question
Are you looking for code or for a plugin? Also, what theme are you running (just in case it becomes relevant)? – mor7ifer Jan 17 '12 at 1:15
@m0r7if3r i want either code or plugin. – Felix Jan 17 '12 at 10:24
up vote 0 down vote accepted

Here's a good place to start:

As you will see, keeping the links to posts of the same category is as simple as setting an argument in the function.

I would give an example but there are really good examples on the pages linked above.

share|improve this answer
thank yu very much. that link is very much useful. If yu dont mind may i know how to use those tags in such a way i put those links with arrow mark images between my post. – Felix Jan 17 '12 at 10:25
sorry. It was below my post – Felix Jan 17 '12 at 10:58
for example to output a link that is formatted like this POST TITLE (ARROW IMAGE ->) – Evan Mattson Jan 17 '12 at 18:16
OOPS: for example to output a next post link that is formatted like this NEXT POST TITLE arrowimage-> you would use <?php next_post_link('%link <img src="your-path-to-image/arrow-right.gif" />', '%title', TRUE); ?> – Evan Mattson Jan 17 '12 at 18:24
Thank yu very much Bro.It was very much useful and did it myself. :) – Felix Jan 22 '12 at 17:45

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.