I’m hoping to use manually entered excerpts that contain hyperlinks. So two questions:
–Is it possible to have the plugin pick up a the manual excerpt (if it is set) before falling back to the generated excerpt?
–Is it possible to have the plugin not strip html from the excerpt? I tried deleting $text = strip_shortcodes( $text ); as suggested elsewhere in this forum, but to no avail. I’m using the plugin Rich text excerpts to add the links.
1. Good idea – I have the next update almost ready to go, I’ll bake this in before releasing.
2. Not really – the point in excerpts is for the HTML to be stripped. In this next version, the excerpts use the wp_trim_words() function – not sure if there’s a filter in there you can use?
Thanks again for the idea on #1, I’ll be sure to add it 🙂
Cool! Wouldn’t you want to use the same behavior as the_excerpt ? That’s what I was hoping for– i.e. the WordPress default behavior where HTML in the manual excerpt is preserved.
I would want to, the issue there is you need to use a filter to edit the excerpt length, and editing that filter would also edit it for any other the_excerpt() function in the theme you’re using.
If I find a way to make it only apply to WPSP, I’ll definitely switch over to the_excerpt().