Excerpts on Archive page?
So the Archive page shows every post, in full.
I would like very much for the Archive page to show only the Excerpt with the Featured Image for each post.
I have found many articles suggesting replacing the_content with the_excerpt, which makes perfect sense … except my Archive.php doesn’t have the_content.
Instead, it has
<?php rewind_posts(); get_template_part( 'loop', 'archive' ); ?>
I tried replacing get_template_part with the_excerpt but that only showed an excerpt of the first post in the archive, and without a title and no featured image.
After that, I am lost.
My full archive.php:
(I have it set to show yearly, if that matters.)
- The topic ‘Excerpts on Archive page?’ is closed to new replies.