Support » Plugin: WP-PageNavi » Can't display second page

  • Baggi


    I am using this plugin, and it works ok. But when i used
    query_posts & thumbnail its doesn’t show second page.
    You can see here
    And my code:

    <div id=”content” role=”main”>
    query_posts(array(‘posts_per_page’=>5,’cat’ => 6));
    if ( have_posts() ) : while ( have_posts() ) : the_post();?>

    <div class=”thumbnail-post”>
    <?php if(has_post_thumbnail()) the_post_thumbnail();?>
    <?php endwhile; endif; ?>
    <div class=”clear”></div>
    <?php wp_pagenavi(); ?>
    </div><!– #content –>

    Can you help me?

    Thanks in advance.

  • The topic ‘Can't display second page’ is closed to new replies.