Hi all,
I would like to have the category pages of my blog display an excerpt of each post rather than the full post. However, I want to keep the index page of the blog as it is (full posts displayed).
Is this possible?
Thanks.
Hi all,
I would like to have the category pages of my blog display an excerpt of each post rather than the full post. However, I want to keep the index page of the blog as it is (full posts displayed).
Is this possible?
Thanks.
In archive.php replace:
get_template_part( 'includes/loop', 'index');
with:
get_template_part( 'includes/loop', 'archive');
Then make a copy of includes/loop-index.php and call it loop-archive.php. Open up loop-archive.php and replace:
the_content(__('Read more →','avia_framework'));
with:
the_excerpt();
echo '<a class="more-link" href="'.get_permalink().'">Read more →</a>';Awesome! Thanks so much for the quick response!!!
Hey,
Glad Peter fixed it.
Regards,
Ismael
This topic has been closed to new replies.