Flat 20% OFF on All Themes Package. Use Coupon Code GRC20 | Offer valid till 31st Oct 2021 Buy Now

Reply To: Slider blank lines and to short text



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?