Sermon excerpts largely unreadable
-
When displaying a single sermon, the sermon details (i.e. date, event, Bible passage, speaker, series etc.) are displayed as HTML and look great. But when the sermon is displayed as part of a text search on the site or as part of a specific event/speaker/series etc., the excerpt is just a text-version of the html content above saved in the post, which is highly unreadable as you can imaging, with missing spaces and an ‘Download FilesMP3’ without a link. I assume, this is just the default way of WordPress to generate an excerpt from a post’s html content.
I was hoping to change this by implementing the custom excerpt function described at https://wpforchurch.com/my/knowledgebase/69/Modifying-the-Excerpt-of-a-Sermon-Archive.html. But this function (as well as the one it replaces) does not seem to be called in any of the instances above. The only time it gets called is for “[sermons]” shortcode.
Would it be possible to force WordPress to keep the HTML as it is when creating the excerpt or add another hook to handle this?
- The topic ‘Sermon excerpts largely unreadable’ is closed to new replies.