PHP: Wordpress functions.php get custom template values