$page_id = $post->ID;

Site Map

Pages

Posts