Create sibling page links. Similar to next_post_link() & previous_post_link() but for pages. Great for utilizing WordPress for Presentations or it
next_page_link( $args:array );
previous_page_link( $args:array );
<?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' ) ); ?>
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
Active Installs: 100+
Got something to say? Need help?