Change caption length for image/image carousel

Question

I’m looking for a way to change the number of characters displayed for caption in frontend page.

for example i have this caption text : "WordPress is a free and open-source content management system written in PHP"

The text caption displayed in the image carousel : "WordPress is a free and open-source content ma…"

As you can see in this picture :

enter image description here

Is it a snippets to add in function.php to show all characters of the caption and remove "…" ?

Also is it a way to put a limit of characters displayed for the caption? for example 80 characters.

Thanks.

0
sampaii 2 months 0 Answers 8 views 0

Leave an answer