Move template tags and extra tags to functions.php