I have my blog page set up with the blog block, utilising the post content element. Each individual blog post created in WordPress begins with a shortcode that displays information.
When the template is active, if a post-excerpt is not present, the theme displays the content as information generated by the shortcode. Is it possible for the theme to ignore the shortcode and generate text based on the first paragraph of text within the blog post?
Additionally, is it possible to remove the "read more" link and the truncate the excerpt after a certain number of characters?
I have my blog page set up with the blog block, utilising the post content element. Each individual blog post created in WordPress begins with a shortcode that displays information. When the template is active, if a post-excerpt is not present, the theme displays the content as information generated by the shortcode. Is it possible for the theme to ignore the shortcode and generate text based on the first paragraph of text within the blog post? ![Left image shows output when no excerpt present. Right image shows output when excerpt present. ][1] [1]: https://i.imgur.com/dItjtKD.png Additionally, is it possible to remove the "read more" link and the truncate the excerpt after a certain number of characters?Last edited 14 September 2021 by vic.pires