function test_seamless_indexloop()
 {
     $this->expectOutputRegex('/<article id="post/', seamless_indexloop());
 }
Beispiel #2
0
// calling the header.php
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");
// create the navigation above the content
seamless_navigation_above();
// action hook for placing content above the index loop
seamless_above_indexloop();
// action hook creating the index loop
seamless_indexloop();
// action hook for placing content below the index loop
seamless_below_indexloop();
// 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