Title: [Plugin: WP-Paginate] Install question
Last modified: August 20, 2016

---

# [Plugin: WP-Paginate] Install question

 *  Resolved [DaveBarrack](https://wordpress.org/support/users/davebarrack/)
 * (@davebarrack)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/)
 * This is a php question that maybe can be answered by anyone familiar with code.
 * The install instructions say “Replace your existing previous_comments_link() 
   and next_comments_link() code block with the following: `<?php if(function_exists(‘
   wp_paginate_comments’)) {
    wp_paginate_comments(); } ?>`”
 * Does that mean replace:
 *     ```
       <div class="commentnav">
       				<div class="commentnav-right"><?php next_comments_link(__('Next Comments &uarr;','comicpress')) ?></div>
       				<div class="commentnav-left"><?php previous_comments_link(__('&darr; Previous Comments','comicpress')) ?></div>
       ```
   
 * So it looks like this:
 *     ```
       <div class="commentnav">
          <div class="commentnav-right"><?php if(function_exists('wp_paginate_comments')) {
           wp_paginate_comments();
       } ?></div>
          <div class="commentnav-left"><?php if(function_exists('wp_paginate_comments')) {
           wp_paginate_comments(); } ?>
       </div>
       ```
   
 * Or this:
 *     ```
       <div class="commentnav">
          <div class="commentnav-right"><?php if(function_exists('wp_paginate_comments')) {
           wp_paginate_comments(); } ?>
       </div>
       ```
   
 * I’m sorry if this is a dumb question but I know enough about php to know that
   a single comma or period in the wrong place can break everything. Seeing EXACTLY
   what the finished product should look like is the only way us non-programmers
   can be sure we’re doing it right.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/#post-2356092)
 * Hello,
 * The following should do the trick:
 *     ```
       <div class="commentnav">
          <?php if(function_exists('wp_paginate_comments')) {wp_paginate_comments(); } ?>
       </div>
       ```
   
 *  Thread Starter [DaveBarrack](https://wordpress.org/support/users/davebarrack/)
 * (@davebarrack)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/#post-2356095)
 * Ah, great thanks.
 *  [LauraBelle64](https://wordpress.org/support/users/laurabelle64/)
 * (@laurabelle64)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/#post-2356176)
 * I apologize, Eric, for popping up all over the place with the same question, 
   but am trying to get an answer for this, and I wasn’t sure where you checked 
   regularly. I am using a theme, Icetech, that seems to have used and copied the
   pagination code you published in 2009. I can’t get it to paginate. I tried downloading
   this plugin, but I couldn’t install it as I don’t have the same copy to replace,
   as it was already replaced with that code using the “emm-paginate.” If I replaced“
   emm-paginate” with “wp-paginate,” and activated this plugin, would it fix my 
   problem?
 *  [ndree](https://wordpress.org/support/users/ndree/)
 * (@ndree)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/#post-2356204)
 * Hi Eric,
    I’m creating my own theme and i can’t use the pagination properly in
   my specific page. But it seemed to work in the search page, can you help?
 * while this is the code of the specific page:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * and the nav.php is:
    `<div><?php wp_paginate(); ?></div>`
 * something i missed? i’m new to WP though.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WP-Paginate] Install question’ is closed to new replies.

 * 4 replies
 * 4 participants
 * Last reply from: [ndree](https://wordpress.org/support/users/ndree/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-install-question/#post-2356204)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
