Adding tags to custom excerpt
-
Hi,
I′m using custom excerpt field on my posts to show contact information of the person the post is about. For this I need to separate different pieces of information (name, telephone etc.) to individual lines for the excerpt to make any sense. As it seems by default tags are not allowed in excerpts.
I downloaded the Advanced Excerpts -plugin and set the Strip Tags -option to “Don′t remove any tags”. Does this function only apply to automatically generated excerpts or am I missing something as any tags I try to add wont work on frontend.
Here is an example what I′m tryin to achieve:
option 1, using <br> -tag
Name<br>Telephone 1<br>Telephone 2
option 2, using <p> -tag
<p>Name</p><p>Telephone 1</p><p>Telephone 2</p>
This should result in three lines showing the corresponding data.
The page I need help with: [log in to see the link]
- The topic ‘Adding tags to custom excerpt’ is closed to new replies.