I was trying to remove WordPress’ […] at the end of an excerpt and ended up spending some time looking for a solution. So I though I would share what worked for me. Add this code into the functions.php file in your theme.
function trim_excerpt($text) { return rtrim($text,'[…]'); } add_filter('get_the_excerpt', 'trim_excerpt');
And that’s all folks!