PHP: Wordpress functions.php enable post thumbnails