Display a specific full page title and/or content using only the page titles in wordpress.

$title = 'My Page Title';
$page = get_page_by_title($title);
$title = apply_filters('the_title', $page->post_title);
$content = apply_filters('the_content', $page->post_content);
if($page) {
echo $title;
echo $content;
}


»
«