getExcerpt: Make ellipsis appear only if character limit is reached

You can check to see if the length of the excerpt is longer than the max count.

if(strlen($excerpt) > $count){

 $excerpt = substr($excerpt, 0, $count) . '…';

}

… is the correct ellipsis character to use.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)