• Hi All,

    I have added the next and previous links to my single.php. Here’s the code …
    <div class="lessons-next-back"> <div class="lesson-previous"><?php previous_post_link(); ?></div> <div class="lesson-next"><?php next_post_link(); ?></div> </div>

    It is doing the exact opposite of what it should do, the next link go to previous and the previous goes to next.

    I have tried just swapping them and that works, but the arrows are pointing backwards. It’s driving me mad.

    Also if I add anything inside “()” the link dies, it shows what I put in there but it’s not linked.

    Any ideas how to fix this?

    Here’s the page … http://emiwip.com/edgonsky/making-every-day-your-training-day/

The topic ‘Next and Previous links working backwards!’ is closed to new replies.