コード例 #1
0
			<div class="entry-content">

				<?php 
// displays the "Page" content
the_content();
// action hook for displaying a list of archive links
seamless_archives();
edit_post_link(__('Edit', 'seamless'), '<span class="edit-link">', '</span>');
?>

			</div><!-- .entry-content -->

		</article><!-- #post -->

	<?php 
// action hook for placing contentbelow #post
seamless_belowpost();
// action hook for calling the comments_template
seamless_comments_template();
// 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
get_footer();
コード例 #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();
        }
    }