/archive.php
PHP | 26 lines | 21 code | 5 blank | 0 comment | 3 complexity | f54e8b5d29e8b125396e1a169c1aead2 MD5 | raw file
- <?php get_header(); ?>
- <!-- Row for main content area -->
- <div id="content" class="eight columns" role="main">
-
- <div class="post-box">
- <h1>
- <?php if (is_day()) : ?>
- <?php printf(__('Daily Archives: %s', 'reverie'), get_the_date()); ?>
- <?php elseif (is_month()) : ?>
- <?php printf(__('Monthly Archives: %s', 'reverie'), get_the_date('F Y')); ?>
- <?php elseif (is_year()) : ?>
- <?php printf(__('Yearly Archives: %s', 'reverie'), get_the_date('Y')); ?>
- <?php else : ?>
- <?php single_cat_title(); ?>
- <?php endif; ?>
- </h1>
- <hr>
- <?php get_template_part('loop', 'category'); ?>
- </div>
- </div><!-- End Content row -->
-
- <?php get_sidebar(); ?>
-
- <?php get_footer(); ?>