You can add an excerpt for each post, rather than letting the excerpt default to the first 55 words of the post content by default. Otherwise, you could try adding the following code to strip the shortcode from the excerpt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function strip_shortcode_from_excerpt( $content ) { | |
$content = strip_shortcodes( $content ); | |
return $content; | |
} | |
add_filter('the_excerpt', 'strip_shortcode_from_excerpt'); |