2012-01-07 03:25:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2014-06-24 23:13:36 +00:00
|
|
|
* The template for displaying archive pages.
|
2012-01-07 03:25:13 +00:00
|
|
|
*
|
|
|
|
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
*/
|
|
|
|
|
|
|
|
get_header(); ?>
|
|
|
|
|
2014-08-17 17:02:35 +00:00
|
|
|
<div id="primary" class="content-area">
|
2013-07-30 19:12:45 +00:00
|
|
|
<main id="main" class="site-main" role="main">
|
2013-03-05 00:41:38 +00:00
|
|
|
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
|
|
|
|
|
|
<header class="page-header">
|
|
|
|
<?php
|
2014-11-12 20:51:21 +00:00
|
|
|
the_archive_title( '<h1 class="page-title">', '</h1>' );
|
|
|
|
the_archive_description( '<div class="taxonomy-description">', '</div>' );
|
2013-03-05 00:41:38 +00:00
|
|
|
?>
|
|
|
|
</header><!-- .page-header -->
|
|
|
|
|
|
|
|
<?php /* Start the Loop */ ?>
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
/* Include the Post-Format-specific template for the content.
|
2013-08-21 17:04:29 +00:00
|
|
|
* If you want to override this in a child theme, then include a file
|
2013-03-05 00:41:38 +00:00
|
|
|
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
|
|
|
*/
|
|
|
|
get_template_part( 'content', get_post_format() );
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php endwhile; ?>
|
|
|
|
|
2015-01-07 17:40:24 +00:00
|
|
|
<?php _s_paging_nav(); ?>
|
2013-03-05 00:41:38 +00:00
|
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
2013-10-13 11:07:14 +00:00
|
|
|
<?php get_template_part( 'content', 'none' ); ?>
|
2013-03-05 00:41:38 +00:00
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2013-07-30 19:12:45 +00:00
|
|
|
</main><!-- #main -->
|
2014-08-17 17:02:35 +00:00
|
|
|
</div><!-- #primary -->
|
2012-01-07 03:25:13 +00:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2013-07-26 15:59:25 +00:00
|
|
|
<?php get_footer(); ?>
|