PHP: Wordpress functions.php specify number of words in post title