WordPress.org

Support

Support » Plugins and Hacks » Can't make it works!

Can't make it works!

  • Hi there,
    Trying to add pagination to my website…
    but something is wrong and I can’t make it….
    tried different loop, however, no luck!
    the loop I’m using is :
    ` <?php query_posts( array( ‘cat’ => 19, ‘showposts’ => 6, ‘paged’ => get_query_var(‘paged’) ) ); ?>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <div class=”xxxx”>
    <h4> <?php the_date(‘l, j \d\e F, Y’);?> </h4>
    “><h1><?php the_title(); ?></h1>

    <p><?php the_excerpt(); ?></p>
    </div>
    <?php endwhile?>
    <?php else: ?>
    <?php endif; ?>

    <div class=”yyyyyy”>
    <?php wp_pagenavi( ); ?>
    </div>

    Any idea?
    thanks!

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

  • The topic ‘Can't make it works!’ is closed to new replies.