<?php 
thematic_abovecontent();
?>
		
			<div id="content">
	
	            <?php 
if (have_posts()) {
    // displays the page title
    thematic_page_title();
    // create the navigation above the content
    thematic_navigation_above();
    // action hook for placing content above the search loop
    thematic_above_searchloop();
    // action hook creating the search loop
    thematic_searchloop();
    // action hook for placing content below the search loop
    thematic_below_searchloop();
    // create the navigation below the content
    thematic_navigation_below();
} else {
    thematic_abovepost();
    ?>
	
				<div id="post-0" class="post noresults">
					<h1 class="entry-title"><?php 
    _e('Nothing Found', 'thematic');
    ?>
</h1>
					<div class="entry-content">
						<p><?php 
Ejemplo n.º 2
0
 function test_thematic_searchloop()
 {
     $this->expectOutputRegex('/<article id="post/', thematic_searchloop());
 }
Ejemplo n.º 3
0
 function test_thematic_searchloop_xhtml()
 {
     $this->expectOutputRegex('/<div id="post/', thematic_searchloop());
 }