/**
  * Create the post header
  * 
  * Override: childtheme_override_postheader <br>
  * Filter: seamless_postheader
  */
 function seamless_postheader()
 {
     global $post;
     if (is_404() || $post->post_type == 'page') {
         $postheader = '<header class="entry-header">' . seamless_postheader_posttitle() . "</header><!-- .entry-header -->\n";
     } else {
         $postheader = '<header class="entry-header">' . seamless_postheader_posttitle() . seamless_postheader_postmeta() . "</header><!-- .entry-header -->\n";
     }
     echo apply_filters('seamless_postheader', $postheader);
     // Filter to override default post header
 }
 function test_seamless_postheader_posttitle()
 {
     $content = seamless_postheader_posttitle();
     $this->assertRegexp('/^\\n\\n\\t\\t\\t\\t\\t<h1/', $content);
     $this->assertRegexp('/<\\/h1>$/', $content);
 }