Display Part Of A New Post?
-
Ok, well its plain and simple.
At the moment, i have this :
<div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div><div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div><div class=”featured”>
<?php $recent = new WP_Query(“cat=1&showposts=1”); while($recent->have_posts()) : $recent->the_post();?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read the story »’));?><div style=”clear:both;”></div>
<?php endwhile; ?>
</div></div>
and im looking to change it so instead of only showing the post #1 from catagorie 1, it will display the 3 most recent posts.
thanks!
- The topic ‘Display Part Of A New Post?’ is closed to new replies.