Viewing 1 replies (of 1 total)
  • Thread Starter eyephone21

    (@eyephone21)

    Hello again!

    Asked to my brother, and managed to find the solution.

    In carousel-horizontal-posts-content-slider.php

    find the //limit words part and change it with this

    //limit words
    function tchpcs_clean($excerpt, $substr) {
      $string = strip_tags($excerpt);
    	$string = substr($string, 0, $substr);
    
    	return $string;
    }

    In this way ALL the htmtl is stripped from the excerpt, playing with the strip_tag function ( http://php.net/manual/en/function.strip-tags.php ) you can allow some code, but this is beyond my needs (and skills).

    Ciao!

Viewing 1 replies (of 1 total)
  • The topic ‘No text displayed if there is a picture at the beginning of the post’ is closed to new replies.