WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. brianbonner
    Member
    Posted 8 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
    Member
    Posted 8 years ago #

  3. brianbonner
    Member
    Posted 8 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">
    <center>
    <?php next_posts_link('&laquo; Previous Entries') ?> -
    <?php previous_posts_link('Newer Entries &raquo;') ?>
    </center>
    </div>

    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

Tags

No tags yet.