Hey everybody,
I'm in a tough spot, does anybody know how to do the following?
- Limit the length of the_content based on number of characters
- WITHOUT stripping any html tags
- But still parses shortcodes
I've googled a few methods, but each and every one of them strips out tags and/or doesn't parse shortcodes. I need something that does both.
I'm using a couple of plugins, one that generates a shortcode, another that gives me enhanced control over the_excerpt. I can't get rid of either plugin. I have one loop where I need the shortcode parsed, markup displayed, and the characters limited, but my plugins aren't getting along. The plugins' authors are unresponsive, so I'm trying to do an end-run where I use the_content instead of the_excerpt to achieve the same thing.