add global $post in single.php