Exemple #1
0
// 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");
// displays the page title
seamless_page_title();
// create the navigation above the content
seamless_navigation_above();
// action hook for placing content above the category loop
seamless_above_categoryloop();
// action hook creating the category loop
seamless_categoryloop();
// action hook for placing content below the category loop
seamless_below_categoryloop();
// create the navigation below the content
seamless_navigation_below();
// 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
seamless_sidebar();
// calling footer.php
 function test_seamless_categoryloop()
 {
     $this->expectOutputRegex('/<article id="post/', seamless_categoryloop());
 }