I would like to be able to get the page id of the first element of the URL but can't figure it out.
I use pages and have an URL that looks like
/about/company/people
I would like to use the wp_list_pages function to dispaly a list of all pages in this section. In order to do this I need to know the id for the page called 'about'.
Does anyone know how I could get the id of about regardless of the current page?
Any pointers would be great. Thanks.