WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP-Paginate] code trouble?

[Resolved] [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/

    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eric Martin

    @emartin24

    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…

    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. Please use the pastebin]

    *bump*

    Moderator Michael

    @alchymyth

    Forum Moderator

    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 Martin

    @emartin24

    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.

    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 ‘[Resolved] [Plugin: WP-Paginate] code trouble?’ is closed to new replies.