WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

Linchpin - PrevNextPage

Create sibling page links. Similar to next_post_link() & previous_post_link() but for pages. Great for utilizing WordPress for Presentations or it

Examples

Function Options

next_page_link( $args:array );
previous_page_link( $args:array );
  • 'label' => '', // What ever you want your link to be labeled. If no label is given the url is utilized
  • 'loop' => NULL, // 'expand', 'loop'
  • 'getPagesQuery' => 'sort_column=menu_order&sort_order=asc',
  • 'link_class' => '', // class given to the anchor for styling or js library
  • 'link_id' => '', // id given to the anchor for styling or js reference
  • 'echo' => 'true', //
  • 'direction' => '', // 'next', 'prev'

Function Examples

  • <?php echo previous_page_link( array ( 'label' => 'View My Previous Page', 'loop' => 'loop', 'link_class' => 'ui-button-disabled' ) ); ?>
  • <?php echo next_page_link( array ( 'label' => 'Next Page' ) ); ?>

Shortcode Options

  • 'label' = '',
  • 'loop' = '', // 'expand', 'loop'
  • 'getPagesQuery' = 'sort_column=menu_order&sort_order=asc',
  • 'link_class' = '',
  • 'link_id' = '',
  • 'direction' = '', // 'next', 'prev'

Shortcode Examples

  • [previous_page_link]
  • [next_page_link label="View My Next Page"]

Why not use 'Next and Previous Page Not Post'?

Great question. No reason really. I think this one is a bit more efficient but I didn't do an apples to apples comparison. Though this plugin does have a few more options available regarding customization such as classes and IDs being applied to the links if you choose.

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-6
Downloads: 2,075

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2 100,1,1
100,1,1