0

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

  • 1
    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
0

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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