another posts pagination problem
-
why doesn’t this work?
<ul> <?php if (have_posts()) : while (have_posts()) : the_post(); $image = get_post_meta($post->ID,'image',1); ?> <li class="clearfix"> <?php if(!empty($image)) { ?> <div class="imageWrapShadow"> <img src="<?=$image?>" width="130" height="114" align="middle" /> </div> <?php } ?> <div class="resultDesc"> <h3><?=$post->post_title?></h3> <?=$post->post_excerpt?> <a href="<?=$post->guid?>" class="readMore">read more »</a> </div> </li> <?php endwhile; wp_link_pages(); else: ?> Sorry, no posts matched your criteria. <?php endif; ?>isn’t wp_link_pages(); supposed to spit out pagination numbers?
how do i get this to give me < 1 2 3 4 >
and how do i specify how many posts to display per page?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘another posts pagination problem’ is closed to new replies.