开发者 |
aware
linchpin_agency |
---|---|
更新时间 | 2012年9月7日 03:35 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 3.4.1 |
linchpin-nextprevpage.php
to the /wp-content/plugins/linchpin-next-page-link-previous-page-link
directory on your server (creating the folder if necessary. Or utilize the seach and install within the 'Plugins' menu of the WordPress Admin<?php echo next_page_link(); ?>
or <?php echo previous_page_link(); ?>
in your templates or utilize [next_page_link]
[previous_page_link]
shortcode or do_shortcode([previous_page_link])
;Function Options
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.