Skip Navigation

[Resolved] HTML in Excerpt

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by stewartE 4 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#1836729

Hi is it possible to allow HTML in Excerpts in views. Basically I have a CPT with which shows the excerpt at the top of the page but any links or emails that I add to the excerpt are being stripped out on the front end.

Thanks!

#1837795

Hi,

Thank you for contacting us and I'd be happy to assist.

To allow HTML tags in the excerpt, you can use the shortcode:
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-excerpt )


[wpv-post-excerpt output="raw"]

Note: if you're using the Blocks editor for the view, you can insert a "Fields and Text" block and then insert this shortcode in it.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1838625

My issue is resolved now. Thank you!