I'm trying to show a page title outside the loop and use it as a column header for it's child pages.
I've been searching through the forums and codex but can't seem to find the answer.
Any help appreciated.
I'm trying to show a page title outside the loop and use it as a column header for it's child pages.
I've been searching through the forums and codex but can't seem to find the answer.
Any help appreciated.
<?php
$title = get_the_title(55);
echo 'this is the title for page id=55 ' . $title;
?>Of course wp_list_pages('title_li=&include=55&depth=1') would also work.
This topic has been closed to new replies.