All Projects → GaryJones → Multi Page Post Next And Numbers

GaryJones / Multi Page Post Next And Numbers

Licence: gpl-2.0
Display both Previous & Next links and numbers for multi-page posts.

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

Screenshot of multi page post navigation showing named and numbered links
Named and numbered links.

Requirements

  • WordPress 3.1.0

Installation

Upload

  1. Download the latest tagged archive (choose the "zip" option).
  2. Go to the Plugins -> Add New screen and click the Upload tab.
  3. Upload the zipped archive directly.
  4. Go to the Plugins screen and click Activate.

Manual

  1. Download the latest tagged archive (choose the "zip" option).
  2. Unzip the archive.
  3. Copy the folder to your /wp-content/plugins/ directory.
  4. 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].