PageRenderTime 50ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/archive.php

https://github.com/Vinsanity/reverie
PHP | 26 lines | 21 code | 5 blank | 0 comment | 3 complexity | f54e8b5d29e8b125396e1a169c1aead2 MD5 | raw file
  1. <?php get_header(); ?>
  2. <!-- Row for main content area -->
  3. <div id="content" class="eight columns" role="main">
  4. <div class="post-box">
  5. <h1>
  6. <?php if (is_day()) : ?>
  7. <?php printf(__('Daily Archives: %s', 'reverie'), get_the_date()); ?>
  8. <?php elseif (is_month()) : ?>
  9. <?php printf(__('Monthly Archives: %s', 'reverie'), get_the_date('F Y')); ?>
  10. <?php elseif (is_year()) : ?>
  11. <?php printf(__('Yearly Archives: %s', 'reverie'), get_the_date('Y')); ?>
  12. <?php else : ?>
  13. <?php single_cat_title(); ?>
  14. <?php endif; ?>
  15. </h1>
  16. <hr>
  17. <?php get_template_part('loop', 'category'); ?>
  18. </div>
  19. </div><!-- End Content row -->
  20. <?php get_sidebar(); ?>
  21. <?php get_footer(); ?>