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