Hi guys,
You’ll have to add excerpt for those pages. Please do this,
- Add this line to your child theme’s functions.php
add_post_type_support( 'page', 'excerpt' );
This is needed for page type since it doesn’t have excerpt by default
-
Edit your page or post and scroll to very top and click Screen Options
, make sure Excerpt is toggled on
-
Scroll down and find Excerpt meta box section and there, add your text excerpt.
Wordpress generates plain text when displaying excerpt, it will remove all shortcodes and HTML. But some could bypass if it contains malformed content, or other 3rd party plugins is appending some content. The solution is adding text excerpt manually which is provided by Wordpress itself.
Thanks!