Title: [Plugin: WP-Paginate] code trouble?
Last modified: August 19, 2016

---

# [Plugin: WP-Paginate] code trouble?

 *  Resolved [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * (@daeeatsall)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/)
 * I’m having trouble with this plug-in.
 * I have followed everything from the Installation to the input of the code into
   the index.php and search.php. I’m still getting no result with this. It might
   be my theme in general that is having a conflict with the actual plug-in.
 * here is my wordpress page
    [http://8bitpill.com/savepoint/](http://8bitpill.com/savepoint/)
 * The theme I’m using is BlackLetter-Head. I have re worked it from its original.
 * Any help would be awesome, and if you need additional info let me know.
 * Thank You
 * [http://wordpress.org/extend/plugins/wp-paginate/](http://wordpress.org/extend/plugins/wp-paginate/)

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

 *  Plugin Author [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820357)
 * Looking at your home page, you need to replace the code that generates the “Older
   Entries” with the WP-Paginate code:
 *     ```
       <?php if(function_exists('wp_paginate')) {
           wp_paginate();
       } ?>
       ```
   
 * If that’s not working, let me know…
 *  Thread Starter [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * (@daeeatsall)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820417)
 * So I changed the the index.php and the search.php with that block of code and
   still no go.
 * here is what I’m working with.
 * **index.php**
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com)]_
 *  Thread Starter [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * (@daeeatsall)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820424)
 * index.php
    [http://wordpress.pastebin.com/rxGDiry6](http://wordpress.pastebin.com/rxGDiry6)
 * search.php
    [http://wordpress.pastebin.com/eT6PSzyp](http://wordpress.pastebin.com/eT6PSzyp)
 * archive.php
    [http://wordpress.pastebin.com/U6T0AesY](http://wordpress.pastebin.com/U6T0AesY)
 * ^
    this is what I’m working with.
 *  Thread Starter [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * (@daeeatsall)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820448)
 * *bump*
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820451)
 * there is a ‘next posts’ link on your front page;
    however this is wrapped in 
   some’navigation’ divs.
 * it can therefore not come from your wp-paginate code in your index.php.
 * i could not generate a search result that had enough results to force a next 
   page, so i could not check that.
 * for the trial, you might better set the number of posts per page (in settings–
   reading) to a lower number (maube just to two) that yould also generaste may 
   more pages for the plugin to show.
 * did you check the plugin admin setting page for any options?
 * ps:
    most of all, double check if you are editing the right files in the right
   folder.
 *  Plugin Author [Eric](https://wordpress.org/support/users/emartin24/)
 * (@emartin24)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820470)
 * If your theme has a loop.php file, check that. If you are editing the correct
   file, you will no longer see the Older Entries link.
 *  Thread Starter [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * (@daeeatsall)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820502)
 * ha,
    got it to work. I was working with the wrong index.php/search.php/archive.
   php. thanks guys for taking your time out to help.

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

The topic ‘[Plugin: WP-Paginate] code trouble?’ is closed to new replies.

 * ![](https://ps.w.org/wp-paginate/assets/icon-128x128.png?rev=1566512)
 * [WP-Paginate](https://wordpress.org/plugins/wp-paginate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-paginate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-paginate/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-paginate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-paginate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-paginate/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Corvus](https://wordpress.org/support/users/daeeatsall/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-paginate-code-trouble/#post-1820502)
 * Status: resolved