excerpt related question
WP automatically generates an excerpt if the_excerpt is used within the loop. It however strips the html and tags from the content.
Using the c2c plugin I can call excerpts which include the tags and html.
What I need is either a plugin or some method so that the site automatically generates an excerpt of say the first 20 words INCLUDING the tags and any HTML. I need this to be autogenerated as soon as I hit the publish button – in fact, be it publish, draft or whatever, I would like to add whatever the first 20 words including the code, are.
Anyone know how I would accomplish something like this? Do existing excerpt plugins do this? I know many will generate the excerpt automatically, but only in the case of a search not as an actual exceprt within the post.
- The topic ‘excerpt related question’ is closed to new replies.