I’ve decided that for my Front Page I’m just going to show ‘Latest Posts’. The issue now is that my Latest Posts show in their entirety, and I’m having troubles just showing the excerpt.
I have gone in to content.php and replaced the_content(), with the_excerpt(), with no luck.
The only way I’ve managed to get the Front Page posts to cut in to an excerpt, with a Read More button, is to modify content-page.php and change:
<div class="entry-content"> <?php the_content(); ?>
<div class="entry-content"> <?php the_excerpt(); ?>
<p><a class="btn btn-default read-more" href="<?php the_permalink(); ?>"><?php esc_html_e( 'Read More', 'sparkling' ); ?></a></p> under the_excerpt()
The issue with this fix is the_excerpt() is now applying to my standalone pages (not just my front page), which I DON’T want.
Any idea why the modifying the_content() in content.php method isn’t working for myself? Is this something to do with setting the main page from Customize (Static Front Page > ‘Your Latest Posts’)?
Thanks for all your help,