An enhanced version of `wp_link_pages`.
Author: | Rich Pedley (profile at wordpress.org) |
WordPress version required: | 2.5 |
WordPress version tested: | 2.7 |
Plugin version: | 1.1.0 |
Added to WordPress repository: | 27-05-2008 |
Last updated: | 19-01-2009
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, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://quirm.net/2008/10/07/enhanced-paginati... |
Total downloads: | 2 065 |
Active installs: | 10+ |
Click to start download |
Alternative for wp_link_pages
to be able to specifiy wrappers for each link. Simply use
enhanced_link_pages(
array(
'blink'=>'<li>',
'alink'=>'</li>',
'before' => '<ul>',
'after' => '</ul>',
'next_or_number' =>
'number')
);
in place of wp_link_pages
in your themes.
If next_or_number
is set to both, then pages numbers and previous/next are shown.