Show only excerpts of blog posts on WordPress startpage
- January 28th, 2010
- Posted in HTML . PHP
- By Mr. Nerd
- Write comment
If you would like WordPress to show only the excerpts of articles on the startpage, here’s a possible solution:
Change into the folder of your template and open the index.php file. Now look for the function named
the_content(...)
and simply change it to
the_excerpt(...)
without touching the inner arguments. That’s it, from now on, only the excerpts of each article will be displayed on your startpage.
No comments yet.