GaryJones / Multi Page Post Next And Numbers
Multi-Page Post Next and Numbers
WordPress plugin to display both Previous & Next links and numbers for multi-page post navigation.
Description
The WP function wp_link_pages()
allows an argument passed in of next_or_number
. This sets whether the navigation for multi-page posts or other entries are displayed as Previous page and Next Page or as numbered pagination.
This plugin filters the output of that plugin and re-builds the output so that it displays both. If viewing page 1, the Previous link isn't shown. If viewing the last page, the Next link isn't shown. If the post is not a multi-page post (doesn't use <!--nextpage-->
), then this plugin returns the default output (which is an empty string).
Screenshots
Requirements
- WordPress 3.1.0
Installation
Upload
- Download the latest tagged archive (choose the "zip" option).
- Go to the Plugins -> Add New screen and click the Upload tab.
- Upload the zipped archive directly.
- Go to the Plugins screen and click Activate.
Manual
- Download the latest tagged archive (choose the "zip" option).
- Unzip the archive.
- Copy the folder to your
/wp-content/plugins/
directory. - Go to the Plugins screen and click Activate.
Check out the Codex for more information about installing plugins manually.
Git
Using git, browse to your /wp-content/plugins/
directory and clone this repository:
git clone [email protected]:GaryJones/multi-page-post-next-and-numbers.git
Then go to your Plugins screen and click Activate.
Updates
This plugin supports the GitHub Updater plugin, so if you install that, this plugin becomes automatically updateable direct from GitHub.
Usage
Just activate the plugin.
Credits
Built by Gary Jones Copyright 2013 Gamajo Tech