next_post_link(); help
-
Hello wordpress commuinity, I’m having a bit of trouble with the template tags next_post_link(); and previous_post_link(); I think it’s just because I’m alittle bit confused on how to implement them. Where would I put this code if I wanted it to appear on every single-post page. Somewhere inside the loop? If so where? I’m only a beginner when it comes to PHP and I’ve tried to put it in afew different places, both inside and outside the loop nothing seems to be working.
Would it work if I put it inside the post information itself (like, inside posts through the wordpress interface)
Any help would be great, here is the copy pasted code I’ve been using
previous_post_link( ‘%link’, ‘Prev’); ?>
next_post_link( ‘%link’, ‘Next’); ?>
- The topic ‘next_post_link(); help’ is closed to new replies.