[resolved] code trouble? (8 posts)

  1. daeeatsall
    Posted 5 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

    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


  2. Eric Martin
    Plugin Author

    Posted 5 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')) {
    } ?>

    If that's not working, let me know...

  3. daeeatsall
    Posted 5 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.


    [Code moderated as per the Forum Rules. Please use the pastebin]

  4. daeeatsall
    Posted 5 years ago #

  5. daeeatsall
    Posted 5 years ago #


  6. Michael
    Forum Moderator
    Posted 5 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?

    most of all, double check if you are editing the right files in the right folder.

  7. Eric Martin
    Plugin Author

    Posted 5 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
    Posted 5 years ago #

    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

  • WP-Paginate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic