WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Can't display second page (1 post)

  1. Baggi
    Member
    Posted 1 year ago #

    Hi,
    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 http://mysales.am/category/%D5%A6%D5%A5%D5%B2%D5%B9%D5%A5%D6%80/
    And my code:

    <div id="content" role="main">
    <?php
    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();?>
    </div>
    <?php endwhile; endif; ?>
    <div class="clear"></div>
    <?php wp_pagenavi(); ?>
    </div><!-- #content -->

    Can you help me?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-pagenavi/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic