how to get post id by post _title code example Example: get post title by post id wordpress get_post( $post_id )->post_title