Ambrosite Next/Previous Page Link Plus

Creates two new template tags for generating next/previous page navigation links.

Author:J. Michael Ambrosio (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:3.3.2
Plugin version:1.1
Added to WordPress repository:11-08-2011
Last updated:18-02-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:7
Plugin URI:http://www.ambrosite.com/plugins
Total downloads:16 977
Active installs:1 000+
plugin download
Click to start download

IMPORTANT: Make sure you are using the right plugin.

  • Next/Previous Page Link Plus is intended for use in page templates.
  • Next/Previous Post Link Plus is intended for use in single post templates.

The two plugins have similar sounding, but different, function names. If you mistakenly install the wrong plugin, you will get a "call to undefined function" error. If you want to create next/previous links for your posts (including custom post types), please check out: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/

This plugin creates two new template tags -- next_page_link_plus and previous_page_link_plus -- which may be used to generate next/previous navigation links for pages. The new tags include the following options:

  • Sort the next/previous page links on any column, including alphabetically, by date, and by menu_order.
  • Sort the next/previous links on custom fields (both string and integer sorts are supported).
  • Loop around to the first page if there is no next page (and vice versa).
  • Retrieve the first/last page, rather than the previous/next page (for First|Previous|Next|Last navigation links).
  • Display the featured image alongside the links (WordPress 2.9 or higher).
  • Truncate the link titles to any length, and display custom text in the tooltip.
  • Display the title, date, author, and meta value of the next/previous links.
  • Specify a custom date format for the %date variable.
  • Restrict next/previous links to same parent page, author, or custom field value.
  • Exclude or include individual page IDs.
  • Return multiple next/previous links (e.g. the next N links, in an HTML list).
  • Return the ID, title, date, href attribute, or post object of the next/previous links, instead of echoing them to the screen.
  • Return false if no next/previous link is found, so themes may conditionally display alternate text.

Extensive documentation on configuring the plugin may be found here: http://www.ambrosite.com/plugins/next-previous-page-link-plus-for-wordpress


FAQ
ChangeLog