Hi, Sorry I didn’t get it. Can you please explain it a little further?
Regards
Hello,
I meant that I want to display the description in an HTML format, instead of displaying it inside a <p> tag.
Fortunately, I could do that by changing some code in the carousel.class.php file, here’s the changes that I made :
Changed this :
echo wp_trim_words( get_the_content(), $length );
to this :
ob_start();
the_content();
$the_content_html = ob_get_clean();
echo html_entity_decode ( wp_trim_words( htmlentities( wpautop($the_content_html) ), $length ) );
Thank you !
Thanks for the suggestion, I’m releasing a new version soon and will also add this code snippet.
Regards
Thanks for your efforts, I appreciate that.
Good luck.