Programming TipsWordPress Tips

The Best WordPress Pagination Plugin: WP-PageNavi + How To Install

WordPress pagination is generally best handled by plugins, rather than working with the previous and next buttons provided by the core. To achieve numbered pagination, WordPress plugin authors have created hundreds of plugins, although many are cumbersome and overly complicated. For many WordPress developers, there’s only one true winning plugin to provide numbered pagination at the bottom of your posts page: WP-PageNavi.

Why WP-PageNavi?

WP-PageNavi is simple to use and install. Unlike some plugins, even beginners will find the ease of installing the plugin refreshing. WP-PageNavi steps out of the way in terms of styling, allowing it be easily modified to match the style of any theme with just a few lines of CSS.

How To Install WordPress WP-PageNavi Pagination

  1. Log into WordPress then navigate to the Add New Plugin page (Plugins -> Add New).
  2. Search for “WP-PageNavi”.
  3. Install and activate the plugin.
  4. Add some options to the arguments parameter of your posts pages posts query (query_posts, WP_Query, etc). They are “posts_per_page” => 10 and “paged” = get_query_var(‘paged’).
  5. Add underneath the while loop:
  6. Enjoy the best WordPress pagination plugin! (and customize with custom CSS)

Join the discussion 2 Comments

Leave a Reply

Allen Gingrich

Author Allen Gingrich

Allen has worked on the web for over a dozen years. Like many young entrepreneurs, he began with a small workspace in his basement, where he eventually formed Ideas and Pixels. The rest, well, is history. Allen enjoys fine wines, weight training, and beautiful, semantic code.

More posts by Allen Gingrich

Join the discussion 2 Comments

Leave a Reply