Styling excerpts

0
Styling excerpts 1
Onur Kurtic
May 15, 2019 01:49 AM 1 Answers
Member Since May 2019
Subscribed Subscribe Not subscribe
Flag(0)

Hi there

I've created a product slider using your plugin. I am trying to style certain text items in the excerpt but the plugin seems to be stripping the text off any HTML tag. How can I achieve this ?

2 Subscribers
Styling excerpts 1
Styling excerpts 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Styling excerpts 4
PickPlugins
May 15, 2019
Flag(0)

Welcome to our forum.

Please see there is an option to increase word limit. but we use the function get_the_excerpt() to display excerpt which is stripped HTML from content,

https://imgur.com/Njigvsv

Hopefully, there is a filter hook to override, you can display full content.

https://pickplugins.com/documentation/woocommerce-products-slider/filter-hooks/wcps_layout_elements/

But display HTML in the excerpt isn't available right now. if you can do code, this may help you

https://stackoverflow.com/questions/24151161/how-to-prevent-wordpress-from-stripping-html-tags-in-excerpt

Regards

 

 

Sign in to Reply
Replying as Submit