add get_post_of_page code