WordPress.org

Forums

[resolved] Page Navigation Help (1 post)

  1. cliv3101
    Member
    Posted 1 year ago #

    Hi im wondering if any one can help me.
    A friend of mine is having problems with his wordpress blog and the plugin Wp_page navi, when browsing to the second page it displays all the same post as the first. I have read through previous topics but I can't seem to identify the problem.

    The blog can be found here http://thehodgecentre.com

    Im guessing it has something to do with this section contained on the page.php.

    <div class="hodgePost hodgeContentLooks">
    <?php

    $temp = clone $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query('posts_per_page='.get_option('posts_per_page').'&paged='.$paged);

    if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post();

    ?>

    Hopefully so one can help me out here and explain the issue.

    Thanks

    Clive

Topic Closed

This topic has been closed to new replies.

About this Topic