if(!$no_more && strpos($text, '')) { $text = explode('', $text, 2); $l = count($text[0]); $more_link = 1; } else { $text = explode(' ', $text); if(count($text) > $excerpt_length) { $l = $excerpt_length; $ellipsis = 1; } else { $l = count($text); $more_link_text = ''; $ellipsis = 0; } } to: /* if(!$no_more && strpos($text, '')) { $text = explode('', $text, 2); $l = count($text[0]); $more_link = 1; } else { */ $text = explode(' ', $text); if(count($text) > $excerpt_length) { $l = $excerpt_length; $ellipsis = 1; } else { $l = count($text); $more_link_text = ''; $ellipsis = 0; } //}