WordPress page id from url <?php $page_id = url_to_postid( $url ); ?><?php $page_id = url_to_postid( $url ); ?>