Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    the position you put the posts_nav_link() in is only used if there are no posts.

    move the posts_nav_link() to just before ‘endwhile;’

    esmi

    (@esmi)

    Try using:

    <?php endwhile; ?>
    <?php posts_nav_link(); ?>
    <?php else:?>
    Michael

    (@alchymyth)

    go with @esmi’s suggestion

    Thread Starter guided

    (@guided)

    Esmi’s fix worked. Makes sense too. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding posts_nav_link() to theme’ is closed to new replies.