Tags


$page_slug ='video';
$page_data = get_page_by_path($page_slug);
$page_id = $page_data->ID;
echo '<h2>' . $page_data->post_title . '</h2>';
echo apply_filters('the_content', $page_data->post_content);
Advertisements