Schlagwort-Archive: excerpt

WordPress Quick: Only show excerpt on homepage

You don’t want to show the complete post on you homepage? Then why not show visitors only an excerpt and let them click for the whole post?

Open your template file , eg.g index.php and search for term “the_content” then replace it with “the_excerpt

if (is_search()) {
} else {
 //the_content(__('Read the rest of this entry &raquo;', 'kubrick')); // old way
 the_excerpt(); // new way

If you want a better control over “the_excerpt” then you should use Advanced Excerpt plugin. It will leave HTML untouched and give let you edit the more-caption as well.