Has anyone successfully written code to allow specific tags within an excerpt? Eg, my client wishes for links (
<a href... tags) to be written when the_excerpt() is printed to the page. Currently, the excerpt strips all tags.
I do not wish to use a plugin (which is dependent on a version keeping up to date with WP core updates) and I don’t want to write code that re-writes the core. I was hoping to use a filter, but that doesn’t seem possible as I couldn’t find a filter that hooks onto the excerpt.
Any help would be greatly appreciated.