Word Press Obtenga ID de página de inicio
$frontpage_id = get_option( 'page_on_front' );
Smoggy Skipper
$frontpage_id = get_option( 'page_on_front' );