Support » Fixing WordPress » post_links not showing up

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try below code

    <?php
    // Previous/next post navigation.
    the_post_navigation(array(
        'next_text' => 'Next',
        'prev_text' => 'Previous',
    ));
    ?>

    or

    <?php previous_post_link(); ?>  <?php next_post_link(); ?>
    Michael

    (@alchymyth)

    Forum Moderator

    that is a page template which – without a custom query – will normally show only one post/page, and certainly no pagination links.

    what are you trying to achieve with that template?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post_links not showing up’ is closed to new replies.