Duplicate “read more” statement in post carousel

I want to turn off the “read more” statement in the excerpt of the article in the post carousel

You must manually add your excerpt if you want to remove first “read more”. If your excerpt is auto generated, “read more” as part of excerpt will appear.

Make sure to enable excerpt field in screen options if it is disabled on your installation. More details: https://codex.wordpress.org/Excerpt

However, if you don’t want to manually add/edit excerpts of your posts, but want to use starting words of your post, then please add this code into functions.php of your child theme:

// Replaces the excerpt "Read More" text by a link
function new_excerpt_more($more) {
       global $post;
	return '...';
}
add_filter('excerpt_more', 'new_excerpt_more');

You can change returned value to fit your needs (change wording, add permalinks, or even completely remove it.

0