Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 41 lines (33 sloc) 1.1 KB
Template Name: Archives Page
<?php get_header() ?>
<div id="content" class="grid_8 alpha">
<?php the_post() ?>
<div id="post-<?php the_ID() ?>" class="<?php calpress_post_class() ?>">
<h2 class="entry-title"><?php the_title() ?></h2>
<div class="entry-content">
<?php the_content() ?>
<ul id="archives-page" class="xoxo">
<li id="category-archives">
<h3><?php _e( 'Archives by Category', 'sandbox' ) ?></h3>
<?php wp_list_categories('optioncount=1&title_li=&show_count=1') ?>
<li id="monthly-archives">
<h3><?php _e( 'Archives by Month', 'sandbox' ) ?></h3>
<?php wp_get_archives('type=monthly&show_post_count=1') ?>
<?php edit_post_link( __( 'Edit', 'sandbox' ), '<span class="edit-link">', '</span>' ) ?>
</div><!-- .post -->
<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key/value of "comments" to enable comments on pages! ?>
</div><!-- #content -->
<?php get_sidebar() ?>
<?php get_footer() ?>