1. <html>  
  2.  <body>  
  3. <?php
  4. if($post->post_parent) {
  5. $parent_title = get_the_title($post->post_parent);
  6. echo $parent_title;
  7. } else {
  8. wp_title(”);
  9. }
  10. ?>
  11.  </body>   
  12. </html>  
eXTReMe Tracker