category.php 976 B

123456789101112131415161718192021222324252627282930313233
  1. <?php get_header(); ?>
  2. <div class="container">
  3. <article id="content" class="single" role="main">
  4. <div class="entry-content archive wow fadeIn">
  5. <?php if ( have_posts() ) : ?>
  6. <header class="page-header">
  7. <h1 class="super cm-sans">Topic: <?php single_cat_title(); ?></h1>
  8. </header>
  9. <?php while ( have_posts() ) : the_post();?>
  10. <div class="col-sm-6">
  11. <div class="entry-meta">
  12. <div class="date">
  13. <?php the_date(); ?>
  14. </div>
  15. </div>
  16. <h4><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></h4>
  17. <?php the_excerpt(); ?>
  18. </div>
  19. <?php endwhile; ?>
  20. <div class="clear">&nbsp;</div>
  21. <hr>
  22. <?php dw_paging_nav();
  23. else :
  24. printf( __( 'Nothing Found', 'dw' ));
  25. get_search_form();
  26. endif;
  27. ?>
  28. </div>
  29. </article>
  30. </div>
  31. <?php get_footer('home'); ?>