WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
[resolved] code trouble? (8 posts)

  1. daeeatsall
    Member
    Posted 3 years ago #

    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/

  2. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    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...

  3. daeeatsall
    Member
    Posted 3 years ago #

    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]

  4. daeeatsall
    Member
    Posted 3 years ago #

  5. daeeatsall
    Member
    Posted 3 years ago #

    *bump*

  6. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    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.

  7. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  8. daeeatsall
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic