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 !