replace deprecated get_page() with get_post()

get_page() is deprecated and works the same as get_post()