コード例 #1
0
 function test_seamless_archiveloop()
 {
     $this->expectOutputRegex('/<article id="post/', seamless_archiveloop());
 }
コード例 #2
0
ファイル: archive.php プロジェクト: SeamlessThemes/seamless
// 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 archive loop
seamless_above_archiveloop();
// action hook creating the archive loop
seamless_archiveloop();
// action hook for placing content below the archive loop
seamless_below_archiveloop();
// 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