add pagination to this code
-
how can i use WP-PageNav in this code ?
my code is this ?
<div class=”post” style=”width:470px; padding:10px; margin-bottom:10px;”>
<div class=”ptitle”><h2>آخرینهای سلامت</h2></div>
<?php
$recent = new WP_Query(“cat=9&showposts=14”);while($recent->have_posts()) : $recent->the_post();
?>
“>
<div class=”rand-p” style=”width:221px; margin:0 5px;”>
<?php the_post_thumbnail(array(60,60), array (‘class’ => ‘alignleft’)); ?><?php the_title(); ?>
</div>
<?php endwhile; ?>
</div></div>
please help me to use WP-PageNav plugin in above code .
please send me where can i use WP-PageNav in above text .thanks alot .
- The topic ‘add pagination to this code’ is closed to new replies.