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

2
  • 1
    Are you looking for code or for a plugin? Also, what theme are you running (just in case it becomes relevant)?
    – mor7ifer
    Commented Jan 17, 2012 at 1:15
  • @m0r7if3r i want either code or plugin.
    – Felix
    Commented Jan 17, 2012 at 10:24

1 Answer 1

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.

5
  • 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
    Commented Jan 17, 2012 at 10:25
  • sorry. It was below my post
    – Felix
    Commented Jan 17, 2012 at 10:58
  • for example to output a link that is formatted like this POST TITLE (ARROW IMAGE ->) Commented Jan 17, 2012 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); ?> Commented Jan 17, 2012 at 18:24
  • Thank yu very much Bro.It was very much useful and did it myself. :)
    – Felix
    Commented Jan 22, 2012 at 17:45

Your Answer

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

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