Display only one post title
10:53 19 Jan 2012

The below code displays my selected page, its content and shortcode correctly. The page is selected from a theme options panel in the WP Admin.

I am struggling to echo the post title. At the moment, it's echoing all page titles.




post_content;
     $title = $hbw->post_title;
     apply_filters('the_content', $content);
  
     echo "

".$title."

"; echo "".do_shortcode($content).""; } ?>
php wordpress