Remove Content within the Header tags in the Excerpt
-
With the default WordPress Excerpt function. WordPress strips the header tags (e.g. h1 tag) but keeps the unformatted text between the h1 tag as part of the excerpt.
Is there a way, with a custom code, to Not only strip the h1 tag but also remove the text within the tag, when displaying the excerpt.
Can this be done?
Any help is appreciated.
Boutros.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Remove Content within the Header tags in the Excerpt’ is closed to new replies.