* @link http://codex.wordpress.org/Creating_an_Archive_Index Codex: Creating an Archives Index
 */
// 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");
// start the loop to get the page content
the_post();
// action hook for placing content above #post
seamless_abovepost();
?>

		<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
 >

		<?php 
// creating the post header
seamless_postheader();
?>
Ejemplo n.º 2
0
    /**
     * The Tag loop
     * 
     * Located in tag.php
     * 
     * Override: childtheme_override_tag_loop
     */
    function seamless_tag_loop()
    {
        while (have_posts()) {
            the_post();
            // action hook for insterting content above #post
            seamless_abovepost();
            ?>

				<article id="post-<?php 
            the_ID();
            ?>
" <?php 
            post_class();
            ?>
 > 

				<?php 
            // creating the post header
            seamless_postheader();
            ?>
     				
					<div class="entry-content">
					
						<?php 
            seamless_content();
            ?>

					</div><!-- .entry-content -->
					
					<?php 
            seamless_postfooter();
            ?>
					
				</article><!-- #post -->

			<?php 
            // action hook for insterting content below #post
            seamless_belowpost();
        }
    }