File: /home/mmickelson/otbproductions.org.old/wp-content/themes/bloxy-two/archive.php
<?php
/**
* The template for displaying Archive pages.
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
*/
get_header(); ?>
<section id="primary">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title">
<?php if ( is_day() ) : ?>
<?php printf( __( 'Daily Archives: %s', 'bloxy' ), '<span>' . get_the_date() . '</span>' ); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Monthly Archives: %s', 'bloxy' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'bloxy' ) ) . '</span>' ); ?>
<?php elseif ( is_year() ) : ?>
<?php printf( __( 'Yearly Archives: %s', 'bloxy' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'bloxy' ) ) . '</span>' ); ?>
<?php else : ?>
<?php _e( 'Blog Archives', 'bloxy' ); ?>
<?php endif; ?>
</h1>
</header>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
<?php bloxy_content_nav( 'nav' ); ?>
<?php else : ?>
<div class="article page no-results not-found" id="post-0">
<div class="head">
<h2 class="entry-title"><?php _e( 'Nothing found.', 'bloxy' ); ?></h2>
</div>
<div class="content">
<p><?php _e( 'Apologies, but the page you are looking for might have been removed, had its name changed or is temporarily unavailable. Perhaps searching will help find a related post.', 'bloxy' ); ?></p>
</div>
<div class="foot">
</div>
</div>
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>