function test_thematic_tagloop() { $this->expectOutputRegex('/<article id="post/', thematic_tagloop()); }
<div id="container"> <?php // action hook for placing content above #content thematic_abovecontent(); // filter for manipulating the element that wraps the content echo apply_filters('thematic_open_id_content', '<div id="content">' . "\n\n"); // displays the page title thematic_page_title(); // create the navigation above the content thematic_navigation_above(); // action hook for placing content above the tag loop thematic_above_tagloop(); // action hook creating the tag loop thematic_tagloop(); // action hook for placing content below the tag loop thematic_below_tagloop(); // create the navigation below the content thematic_navigation_below(); ?> </div><!-- #content --> <?php // action hook for placing content below #content thematic_belowcontent(); ?> </div><!-- #container -->
function test_thematic_tagloop_xhtml() { $this->expectOutputRegex('/<div id="post/', thematic_tagloop()); }