WordPress.org

Support

Support » Plugins and Hacks » How to add pagenavi to twenty ten ?

How to add pagenavi to twenty ten ?

Viewing 1 replies (of 1 total)
  • Clayton James
    Participant

    @claytonjames

    You can try this… Open loop.php, and on lines 177 – 180, remove only the following;

    <div id="nav-below" class="navigation">
    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
    <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>
    </div>

    Replace it with this: <?php wp_pagenavi(); ?> and save the changes.

    Make a backup of all files first, and you should be working on a child theme, or properly rename your version of TwentyTen, if TwentyTen is your default theme. If not, all your changes will be overwritten on the next upgrade.

    Reference material: http://wordpress.org/extend/plugins/wp-pagenavi/installation/

Viewing 1 replies (of 1 total)
  • The topic ‘How to add pagenavi to twenty ten ?’ is closed to new replies.