WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pagenavi help (1 post)

  1. cliv3101
    Member
    Posted 8 months 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, It's a problem lots of people have had with the second pages displaying the same post as the first. I have read through previous topics but I can't seem to identify the problem, due to my lack of skills in PHP. If any one can help that would be great.
    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

Reply

You must log in to post.

About this Topic