Forum Replies Created

Viewing 2 replies - 166 through 167 (of 167 total)
  • Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Thanks for the link.

    Sadly this does not appear to work with WP 2.5 ?? , not in my ‘archive.php’ page anyway.

    <?php
    if (is_category(5)) :
        $readposts = get_posts('category=5');
    	echo '<h3>News in brief</h3>';
        foreach($readposts as $post) : setup_postdata($post);
        ?>
           <div class="post">
    	   <!--<h3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>-->
    	   <span class="time"><?php the_time('F j Y') ?></span>
    	   <div class="entry2" style="position:relative;">
    		  <?php the_content() ?>
    	   </div>
    	</div>
    	<p>&nbsp;</p>
    
        <?php
        endforeach; 
    
    	?>
    
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    
    	<?
    endif;
    ?>
    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    Hate to *bump*, but anyone use pagination on posts before?

    I’m sure it’s dead easy, but I’m such a WP newb. Thank you.

Viewing 2 replies - 166 through 167 (of 167 total)