Home › Forums › Lite Version › removing […] from posts without content › Reply To: removing […] from posts without content
August 11, 2015 at 4:59 pm #6711
Keymaster
Hi Oliver,
In that case you need to add this filter as well.
function trim_excerpt($text) {
return rtrim($text,'[…]’);
}
add_filter(‘get_the_excerpt’, ‘trim_excerpt’);
Thanks