archive.php 923 B

12345678910111213141516171819202122232425262728
  1. <?php get_header(); ?>
  2. <?php get_template_part( 'underscore' ); ?>
  3. <div class="container">
  4. <div id="content" role="main">
  5. <div class="entry-content archive">
  6. <?php if ( have_posts() ) : ?>
  7. <header class="page-header">
  8. <h1 class="super cm-sans wow fadeInLeft">Archive: <?php the_time('Y'); ?></h1>
  9. </header>
  10. <?php while ( have_posts() ) : the_post();?>
  11. <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'dw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  12. <div class="entry-meta">
  13. <div class="date">
  14. <?php the_date(); ?>
  15. </div>
  16. </div>
  17. <?php dw_good_excerpt(110); ?>
  18. <?php endwhile;
  19. dw_paging_nav();
  20. else :
  21. printf( __( 'Nothing Found', 'dw' ));
  22. get_search_form();
  23. endif;
  24. ?>
  25. </div>
  26. </div>
  27. </div>
  28. <?php get_footer('studio'); ?>