Viewing 3 replies - 16 through 18 (of 18 total)
  • Hey there,

    For those of you that still have problems with:
    “2nd page not showing, or the posts of the 2nd page are the same as on the first one”
    Here is my fix to this problem, as suggested by alchymyth:

    For your information: I’m Using WP v3.1.2, WP-PageNavi v2.74 and TwentyTen as my Theme.

    In my case it hasn’t anything to do with the index.php
    Here it was the <?php wp_reset_query(); ?> that was missing in the loop.php
    I inserted that now at the top of the file at line 21, followed by the code:

    <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?php if ( $wp_query->max_num_pages > 1 ) : ?>
        <div id="nav-above" class="pageNav">
            <?php if(function_exists('wp_pagenavi')) : wp_pagenavi(); else: ?>
    
                <p style="float:left">
                <?php next_posts_link(__('&laquo; Previous entries','mytheme')); ?>
                </p>
                <p style="float:right">
                <?php previous_posts_link(__('Next entries &raquo;','mytheme')); ?>
                </p>
    
            <?php endif; ?>
        </div><!-- #nav-above -->
    <?php endif; ?>

    Although I had wasted hours to find a solution for this, it works fine now for me. Thanks for all your help!!!

    Greetz, Alex

    I tried the option above, but no luck for me.
    All I get is page 1 of 1 1 and the 1 can not even be clicked.
    I promise you I have more then 1 page.
    3.12
    coraline
    PHP 5.2

    @ronthai
    without seeing your site, it will be difficult to make any suggestions to fix your problem.

    link to your site?

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘WP-PageNavi Version 2.72 Not Showing Page 2’ is closed to new replies.