function test_seamless_searchloop() { $this->expectOutputRegex('/<article id="post/', seamless_searchloop()); }
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 inserting contentabove #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"); if (have_posts()) { // displays the page title seamless_page_title(); // create the navigation above the content seamless_navigation_above(); // action hook for placing content above the search loop seamless_above_searchloop(); // action hook creating the search loop seamless_searchloop(); // action hook for placing content below the search loop seamless_below_searchloop(); // create the navigation below the content seamless_navigation_below(); } else { // action hook for inserting content above #post seamless_abovepost(); ?> <div id="post-0" class="post noresults"> <h1 class="entry-title"><?php _e('Nothing Found', 'seamless'); ?> </h1>