How to link up “read more” on excerpts hack from WP Recipies

Replace the last row of code from:

return $content;

To:

return $content.'<a href="'.get_permalink($post->ID).'">Read More...</a>';

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