You use the more Quicktag, <!--more-->, in your post to note the cutoff point. See Customizing_the_Read_More for more info.
“If you have set your WordPress site to display post excerpts on the front or home page, …” I fumble over the first line. Where do i enable that? looked through all the settings tabs, not in there 🙁
Switch to the WordPress Default Theme.
Write a post with this in the body of the post:
This is an example of using the more which cuts off here <!--more--> and this is the rest of the posts.
Save the post, visit your site.
Also look at wp-content/themes/default/index.php for how the_content is structured.
Sorry for my long strike of absence there, but i’ll get right back into it.
I’d tried simply inserting the <!–more–> quicktag into a post, but it didn’t work, as with your example. I made a new post, copy+pasted that in the body, published it, and the entire thing just showed up on my front page. Still no cut-off or anything.
And the only mention of the_content in my index.php file is :
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
Which i can’t make anything up out of.
Try changing to the HTML editor and or with the Visual Editor use the “Insert More Tag” button.
That code looks okay.
Roy
(@gangleri)
Alternately you can look for excerpt plugins. I use Excerpt Editor myself, it’s quite flexible.
I am trying to make my home page display the summary, and I have that selected in the wp-admin area, but no dice. I hope maybe you can tell me why. This is my code:
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php global $more; $more = 0; ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small>
<div class=”entry”>
<?php the_content(‘Read More…’); ?>
</div>
<p class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?> Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
</div>