WP Manifestindependent plugin directory
manifest / content / multi-page-post-next-and-numbers

Multi-Page Post Next and Numbers archived

Display both Previous & Next links and numbers for multi-page posts.

by Gary Jones · github.com/garyjones/multi-page-post-next-and-numbers · website

5stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/garyjones/multi-page-post-next-and-numbers/archive/refs/heads/develop.zip

Declares an update source (https://github.com/GaryJones/multi-page-post-next-and-numbers), so updates arrive through the plugin's own updater.

Readme

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 ``), 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 git@github.com: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

Read the full README on GitHub →

Releases

TagPublished
1.0.0 Sep 8, 2013
1.1.0 Sep 8, 2013

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.