Okay, so I’ve done some more hours and hours of digging to find something likely to work:
<?php
$query = “pagename=”;
$query .= $page_slug;
$pageArray = query_posts($query); //retrieves the about $query page only
setup_postdata($pageArray);
$PageID = $pageArray[0]->ID;
echo $about_PageID;
?>
This seems fine to me, basically I should end up with the page ID, from which I can grab any content I want. Or indeed I could grab the content straight out of pageArray.
However when this is placed within The Loop it produces a infinite loop. Which is a bummer.
Any insights?
Tom