How to get ... (3 dots) at the end of the excerpt? I am using this function in my functions.php
function word_count($string, $limit) {
$words = explode(' ', $string);
return implode(' ', array_slice($words, 0, $limit));
}
And echoing like this in my content.php:
echo word_count(get_the_excerpt(), '20');
I want 3 dots at the end of the excerpt. Please help. Thank you.