Display date in individual posts and put category array in functions.php