• At the bottom of the blog above the footer the link “Keep Reading” for some reason it will go to the next page to load older post but the next page is exactly identical to the first page and doesn’t load older posts.

    Any ideas on what the problem could be and how to fix it?

    Here is the website ( link is all the way at the bottom )
    StepFour.net

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • One possibility is a custom query in your theme’s index.php file that needs amending. Another possibility is a bad plugin. Have you tried deactivating all plugins to see if this resolves the problem?

    Thread Starter stepfour

    (@stepfour)

    I tried deactivating the plugins that didnt help.

    What do you suggest I do about the index.php file?

    Drop a copy of the file into the WordPress pastebin and post the pastebin url here. Perhaps someone will be able to spot the problem and suggest a solution.

    Thread Starter stepfour

    (@stepfour)

    Here is the Pastebin URL to our index page.
    Pastbin Link

    Try changing:

    <?php query_posts('cat=-158&showposts=10'); ?>

    to:

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts('cat=-158&posts_per_pages=10&paged=' .$paged');
    ?>
    Thread Starter stepfour

    (@stepfour)

    Got an error saying “Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/stepfou1/public_html/blog/wp-content/themes/elements-of-seo/home.php on line 16”

    Thread Starter stepfour

    (@stepfour)

    Bump for some help …

    In case you haven’t yet fixed this:
    .$paged’); needs to be .$paged);

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

The topic ‘Older Posts Not Loading.’ is closed to new replies.