[resolved] Placing the page option on the main page (3 posts)

  1. brianbonner
    Posted 11 years ago #

    I would like to be able to make my main page, all category and archive pages use the page function. as in next or previous page yeilding 25 posts per page. I have searched bu didn't find any information on the subject.

  2. amory
    Posted 11 years ago #

  3. brianbonner
    Posted 10 years ago #

    Thanks for the heads up. I have no idea why I do searches in the codex and always come up with a bunch of nothing. Your information led me to more information and I decided to to use the following code;

    <div class="centreblock">
    <?php next_posts_link('&laquo; Previous Entries') ?> -
    <?php previous_posts_link('Newer Entries &raquo;') ?>

    It works great thank you! I found the post nav link to be too confusing so this is why I used the above in its place.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.