View article excerpt in the list of articles?
URL to the page in question:
-
Is there a way to only display the article excerpt (if there is text in the excerpt field of course) in the list of articles?
Marc,
You absolutely can do that. Here’s how:
- Go to the appearance section and select edit to open up the theme editor.
- From the list of files on your right, choose content-gallery.php and look for this spot:
<?php the_content( __( 'Continue reading →', 'organizedthemes' ) ); ?>
- Replace that with this:
- Save your changes.
- Repeat that for the content-gallery.php and content-video.php files too.
That will cause either the content from the excerpt box or the first 55 words of your post to be displayed (if the excerpt box is empty).
If you run into any trouble, let me know.
Enjoy your week,
Bill
Thanks Bill, that was very helpful.
- The topic ‘View article excerpt in the list of articles?’ is closed to new replies.