Wordpress

Modifying WordPress blog content to excerpt

With wordpress the default setting in most themes for displaying content on your blog pages is to display the entire blog entry. You may not want to display the entire blog entry but instead have an excerpt of the blog display with a link to display the whole blog entry via click. How do you change your blog content to display only an excerpt instead of the entire content?

This is accomplished with a simple edit to the index.php file in your theme.  Simply launch your theme Editor.  Notice this is found under the Appearance configuration page.

themeeditor

Click inside the index.php page code and do a simple CTRL+F to find the word the_content and once you find this entry, change it from the_content to the_excerpt.  This tells WordPress to simply display an excerpt instead of the full content of the blog entry which is usually the desired behavior.

Back to top button