wordpress › wp-pagenavi « wordpress plugins
TRANSCRIPT
2/5/2014 WordPress › WP-PageNavi « WordPress Plugins
http://wordpress.org/plugins/wp-pagenavi/installation/ 1/3
Plugin Directory
Search
Extending WordPress
Plugins
Developer Center
Themes
Mobile
Ideas
Kvetch!
Search Plugins
widget (3,827)
Post (2,420)
plugin (2,308)
admin (1,914)
posts (1,829)
sidebar (1,569)
twitter (1,305)
google (1,304)
comments (1,289)
images (1,244)
page (1,201)
image (1,114)
Ready to get started? Download WordPress
Search WordPress.org
Username Password Log in (forgot?) or Register
Popular
Tags More »
2/5/2014 WordPress › WP-PageNavi « WordPress Plugins
http://wordpress.org/plugins/wp-pagenavi/installation/ 2/3
links (972)
Adds a more advanced paging navigation interface. Download Version 2.85
Description Installation FAQ Screenshots Changelog Stats Support Reviews Developers
You can either install it automatically from the WordPress admin, or do it manually:
1. Unzip the archive and put the wp-pagenavi folder into your plugins folder (/wp-
content/plugins/).
2. Activate the plugin from the Plugins menu.
Usage
In your theme, you need to find calls to next_posts_link() and previous_posts_link() and
replace them.
In the Twentyten theme, it looks like this:
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
You would replace those two lines with this:
<?php wp_pagenavi(); ?>
For multipart pages, you would look for code like this:
<?php wp_link_pages( ... ); ?>
and replace it with this:
<?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>
Go to WP-Admin -> Settings -> PageNavi for configuration.
5 stars
4 stars
3 stars
2 stars
1 stars
Ratings
4.1 out of 5 stars
450
107
20
6
122
Requires: 3.2 or higher
Compatible up to: 3.8.1
Last Updated: 2014-1-28
Downloads: 4,100,992
Authors
Lester Chan21 plugins
scribu32 plugins
Donate to this plugin »
Support
14 of 28 support threads in the last
two months have been resolved.
Got something to say? Need help?
View support forum
Compatibility
WordPress 3.8.1
+ Plugin 2.85
= Not enough data
2 people say it w orks.
2 people say it's broken.
WP-PageNavi
4 stars
2/5/2014 WordPress › WP-PageNavi « WordPress Plugins
http://wordpress.org/plugins/wp-pagenavi/installation/ 3/3
About
Blog
Hosting
Jobs
Support
Get Involved
Learn
Showcase
Plugins
Themes
Ideas
WordCamp
WordPress.TV
BuddyPress
bbPress
WordPress.com
Matt
Privacy
License / GPLv2
Follow @WordPress
801kLike
Changing the CSS
If you need to configure the CSS style of WP-PageNavi, you can copy the pagenavi-
css.css file from the plugin directory to your theme's directory and make your modifications
there. This way, you won't lose your changes when you update the plugin.
Alternatively, you can uncheck the "Use pagenavi.css?" option from the settings page and
add the styles to your theme's style.css file directly.
Log in to vote.