WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Reply To: Slider blank lines and to short text

#4789

Hi,

I don’t have the code that you mention, for me the line looks like this:

$content = apply_filters(‘the_content’, substr(strip_tags($post->post_content), 0, 100));

which explains, why the line is truncated after exactly 100 characters.

Why aren’t you using https://codex.wordpress.org/Function_Reference/get_the_excerpt?