Title: Ambrosite Next/Previous Page Link Plus
Author: ambrosite
Published: <strong>August 11, 2011</strong>
Last modified: February 18, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/ambrosite-nextprevious-page-link-plus.
svg)

# Ambrosite Next/Previous Page Link Plus

 By [ambrosite](https://profiles.wordpress.org/ambrosite/)

[Download](https://downloads.wordpress.org/plugin/ambrosite-nextprevious-page-link-plus.zip)

 * [Details](https://wordpress.org/plugins/ambrosite-nextprevious-page-link-plus/#description)
 * [Reviews](https://wordpress.org/plugins/ambrosite-nextprevious-page-link-plus/#reviews)
 *  [Installation](https://wordpress.org/plugins/ambrosite-nextprevious-page-link-plus/#installation)
 * [Development](https://wordpress.org/plugins/ambrosite-nextprevious-page-link-plus/#developers)

 [Support](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/)

## Description

**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:
 https://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

## Installation

 * Upload ambrosite-page-link-plus.php to the /wp-content/plugins/ directory.
 * Activate the plugin through the Plugins menu in WordPress.
 * Edit your page template(s), and insert the next_page_link_plus and previous_page_link_plus
   template tags where you want your next/previous links to be displayed. Configure
   them using parameters as explained in the online documentation:
    http://www.ambrosite.
   com/plugins/next-previous-page-link-plus-for-wordpress

## FAQ

 * How exactly do I install this plugin? Which file needs to be edited, and where
   do I put the code?
 * I am getting a “call to undefined function” error. Why?
 * How can I get rid of the arrows on my next/previous links?
 * Is this plugin compatible with page reordering plugins like PageMash, My Page
   Order, CMS Tree Page View, and Post Types Order?
 * I am using a custom field with a simple integer value to order my pages, but 
   they’re not sorting correctly. Why?
 * I am seeing the number ‘1’ printed next to my links. Why?
 * Is there any way to use an image instead of link text?

Answers to these questions may be found here:
 http://www.ambrosite.com/plugins/
next-previous-page-link-plus-for-wordpress#faq

## Reviews

![](https://secure.gravatar.com/avatar/5904e4e14bbadb59e673aa991abde6a39ad73f0a28c3783ca0f3d8bfea070af0?
s=60&d=retro&r=g)

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-8700/)󠁿

 [jdlev](https://profiles.wordpress.org/jdlev/) September 3, 2016

Being somewhat new to wordpress, I’ve been struggling with finding my way around.
While it seems there were easy ways to order posts, there was not real solution 
if you wanted to setup multiple pages linked in a specific order using dynamic previous-
next links that would update by the page. THIS PLUGIN DOES IT, AND MAKES IT A PIECE
OF CAKE! For instance, I wanted my pages ordered by a customizeable field included
with wordpress – menu_order. I simply added a shortcode previous_page_link_plus(
array('order_by' => 'menu_order')); next_page_link_plus(array('order_by' => 'menu_order'));
and Voila! Previous & Next Dynamic Page Links that are based on menu_order. Wish
I had found this plugin before I wasted hours trying to figure out how to do it 
myself.

![](https://secure.gravatar.com/avatar/76608d69915353f11913a82565deb771520c7857362c91ca3a399f9b4e4c76e4?
s=60&d=retro&r=g)

### 󠀁[I tried several of these type of plugins or other ideas and this one is the best](https://wordpress.org/support/topic/i-tried-several-of-these-type-of-plugins-or-other-ideas-and-this-one-is-the-best/)󠁿

 [Christina](https://profiles.wordpress.org/carasmo/) September 3, 2016

The best! I wish it was updated, even though it works fine with debugging on.

![](https://secure.gravatar.com/avatar/9610e77b9c1acfe8436ce0afe252d9536b6b4b4f23aa97a10ebc24cba9bbd76f?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-2521/)󠁿

 [rambillo](https://profiles.wordpress.org/rambillo/) September 3, 2016

I’ve relied on this plugin for several sites now and it always delivers. Great plugin!

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/)

## Contributors & Developers

“Ambrosite Next/Previous Page Link Plus” is open source software. The following 
people have contributed to this plugin.

Contributors

 *   [ ambrosite ](https://profiles.wordpress.org/ambrosite/)

[Translate “Ambrosite Next/Previous Page Link Plus” into your language.](https://translate.wordpress.org/projects/wp-plugins/ambrosite-nextprevious-page-link-plus)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ambrosite-nextprevious-page-link-plus/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ambrosite-nextprevious-page-link-plus/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ambrosite-nextprevious-page-link-plus/)
by [RSS](https://plugins.trac.wordpress.org/log/ambrosite-nextprevious-page-link-plus/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Added ‘in_same_meta’ parameter.
 * Added ‘return’ parameter to specify what should be returned from the function.
 * Added ‘date_format’ parameter for customizing the %date variable.
 * Added %title variable to ‘format’ parameter.
 * Added option to sort on custom fields as integers rather than strings.
 * Added new classes to anchor tags, thumbnails, and list items to aid CSS styling.

#### 1.0

 * Initial version.

## Meta

 *  Version **1.1**
 *  Last updated **14 years ago**
 *  Active installations **900+**
 *  WordPress version ** 2.5 or higher **
 *  Tested up to **3.3.2**
 * Tags
 * [adjacent](https://wordpress.org/plugins/tags/adjacent/)[link](https://wordpress.org/plugins/tags/link/)
   [next](https://wordpress.org/plugins/tags/next/)[page](https://wordpress.org/plugins/tags/page/)
   [previous](https://wordpress.org/plugins/tags/previous/)
 *  [Advanced View](https://wordpress.org/plugins/ambrosite-nextprevious-page-link-plus/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/reviews/)

## Contributors

 *   [ ambrosite ](https://profiles.wordpress.org/ambrosite/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ambrosite-nextprevious-page-link-plus/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.ambrosite.com/plugins)