WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Can't make it works! (1 post)

  1. vartioli
    Member
    Posted 6 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.