Static Front Page showing Latest Posts excerpt problem

Hey there,

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’ve found a couple other posts regarding this topic here, and here, amongst other places, but the solution provided does NOT work for myself.

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(); ?>

And add <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,

Hi @yawnny,

I hope you are well today and thank you for your question.

Could you please just try checking the option “Show post excerpts?” in the theme customizer settings as shown in the attached screenshots.

Best Regards,