function test_seamless_singlepost() { $this->expectOutputRegex('/<article id="post/', seamless_singlepost()); }
get_header(); // action hook for placing content above #container seamless_abovecontainer(); // filter for manipulating the output of the #container opening element echo apply_filters('seamless_open_id_container', '<div id="container" class="content-wrapper">' . "\n\n"); // action hook for placing content above #content seamless_abovecontent(); // filter for manipulating the element that wraps the content echo apply_filters('seamless_open_id_content', '<div id="content" class="site-content" role="main">' . "\n\n"); // start the loop while (have_posts()) { the_post(); // create the navigation above the content seamless_navigation_above(); // action hook creating the single post seamless_singlepost(); // create the navigation below the content seamless_navigation_below(); // action hook for calling the comments_template seamless_comments_template(); // end the loop } // filter for manipulating the output of the #content closing element echo apply_filters('seamless_close_id_content', '</div><!-- #content -->' . "\n\n"); // action hook for placing content below #content seamless_belowcontent(); // filter for manipulating the output of the #container closing element echo apply_filters('seamless_close_id_container', '</div><!-- #container -->' . "\n\n"); // action hook for placing content below #container seamless_belowcontainer(); // calling the standard sidebar