web/wp-content/themes/thematic/archives.php
author convert-repo
Mon, 22 Mar 2010 10:49:29 +0000
changeset 3 ba1be1ffaa11
parent 1 0d28b7c10758
permissions -rw-r--r--
update tags

<?php
/*
Template Name: Archives Page
*/
?>
<?php

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

?>	
	<div id="container">
		<div id="content">

            <?php 
            
            the_post();
            
            ?>

			<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>">
            
    			<?php 
                
                // creating the post header
                thematic_postheader();
                
                ?>
                
				<div class="entry-content">
                
                    <?php 
                    
                    the_content();

                    // action hook for the 404 content
                    thematic_archives();

                    edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>');
                    
                    ?>

				</div>
			</div><!-- .post -->

        <?php
        
        if ( get_post_custom_values('comments') ) 
            comments_template(); // Add a key/value of "comments" to enable comments on pages!
        
        ?>

		</div><!-- #content -->
	</div><!-- #container -->

<?php 

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling the standard sidebar 
    thematic_sidebar();
    
    // calling footer.php
    get_footer();

?>