WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Previous Page" / "Next Page" change... (4 posts)

  1. Larsanna
    Member
    Posted 6 years ago #

    I'm a novice into the world of WordPress, but I would still like to try and improve on my site.. RCPhotoClub

    To navigate through all the posts, you can click "« Previous Page | Next Page »" - which can take quite a bit of time - especially as we get more and more posts.

    Is there a way to have this type of navigation "First-Page [3] [4] [5] [6] 7 [8] [9] [10] Last-Page"???

    All help is greatly appreciated.

  2. wp_guy
    Member
    Posted 6 years ago #

  3. Larsanna
    Member
    Posted 6 years ago #

    Hi wp_guy,

    Thanks for the link.
    After a little work I seem to have it working.

  4. wp_guy
    Member
    Posted 6 years ago #

    Well... basically, you just need to upload and activate the plugin, then replace the navigation links on your theme, which might look something like:

    <?php next_posts_link('&laquo; Older Entries') ?>
    <?php previous_posts_link('Newer Entries &raquo;') ?>

    and replace them for this line:

    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>

    It's explained here:

    http://lesterchan.net/wordpress/readme/wp-pagenavi.html

Topic Closed

This topic has been closed to new replies.

About this Topic