• Hello,

    In the default WordPress theme, for multipost navigation, I see the following code:

    <div class="navigation">
        <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
        <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    </div>

    I was trying to find out more information about the 2 functions above and found that the codex page was either missing or incomplete.

    After a search on this forum, I found that it was suggested to use posts_nav_link instead.

    So, I’m curious about the status of the first 2 functions.

    Can I/someone update the codex page, reflecting that posts_nav_link should be used instead?

Viewing 1 replies (of 1 total)
  • Thread Starter Eric

    (@emartin24)

    Hmm…I was just checking out the code for posts_nav_link and it actually calls both next_posts_link and previous_posts_link.

    So, I guess they are not deprecated, but wonder why it would be suggested not to use them…?

Viewing 1 replies (of 1 total)
  • The topic ‘“Multipost” display navigation’ is closed to new replies.