WP-PageNavi: Version 2.80

The main feature in this version is the ability to use wp_pagenavi() for multipart pages.

For example, to add it to the Twentyeleven theme, you would open content-page.php and replace this line:

<?php wp_link_pages( array( 'before' => '

<div class="page-link">
  <span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '
</div>' ) ); ?>

with this:

<?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>

comments powered by Disqus