How to include limit in the_content
-
Thank you for the super fast response on the last post
How do I include the limit attribute within the following code. To cut the post at 100.
<div class=”featured”>
<?php $recent = new WP_Query(“cat=6&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>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to include limit in the_content’ is closed to new replies.