Support » Fixing WordPress » next_posts_link and previous_posts_link do not work in single.php

  • Resolved clinton4

    (@clinton4)


    Hi,

    I am working on a site and i cant get next_posts_link and previous_posts_link to work.

    I use this in single.php

    <div class="nav_next"><?php previous_posts_link('Previous', 0); ?></div>
    <div class="nav_previous"><?php next_posts_link('Next', 0); ?></div>

    The code is inside the loop.

    Any ideas why it is not working?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘next_posts_link and previous_posts_link do not work in single.php’ is closed to new replies.