Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #286768

    Hi,
    please how to reduce the number of caractere displayed (before the (…) for the latest news text in widget.
    There is to much. If i put a learn more nothing change
    thanks

    #286898

    Hey!

    Try adding this at the very end of your theme / child themefunctions.php file:

    add_filter('excerpt_length', 'c_excerpt_length');
    function c_excerpt_length($length) {
    	return 10; 
    }
    

    Adjust “10” as needed.

    Cheers!
    Josue

    #287068

    perfect ! thanks !!!

    #287075

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.