Created
April 29, 2016 00:18
-
-
Save jchristopher/5d0cc62f2673394aea0082149369ece2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); ?> | |
<div id="container"> | |
<div id="content" role="main"> | |
<h1 class="page-title"><?php echo $term->name; ?> Archives</h1> | |
<?php if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<div class="post type-post hentry"> | |
<h2 class="entry-title"> | |
<a href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark"> | |
<?php the_title(); ?> | |
</a> | |
</h2> | |
<div class="entry-meta"> | |
<span class="meta-prep meta-prep-author">Posted on</span> | |
<a href="<?php echo get_permalink(); ?>" title="<?php the_time( 'g:i a' ); ?>" rel="bookmark"> | |
<span class="entry-date"><?php the_time( 'F j, Y' ); ?></span></a> | |
</div><!-- .entry-meta --> | |
<div class="entry-summary"> | |
<?php the_excerpt(); ?> | |
</div><!-- .entry-summary --> | |
</div> | |
<?php endwhile; ?> | |
<?php endif; ?> | |
</div><!-- #content --> | |
</div><!-- #container --> | |
<?php get_sidebar(); ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment