Sauter la navigation

[Résolu] HTML in Excerpt

This support ticket is created Il y a 4 années et 7 mois. 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)

Marqué : ,

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par stewartE Il y a 4 années et 7 mois.

Assisté par: Waqar.

Auteur
Publications
#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!