Posted By

reynoldsdigital on 01/22/13


Tagged

php


Versions (?)

archives.php


 / Published in: PHP
 

archives.php

  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4. <h1 class="pages"><?php single_cat_title(); ?></h1>
  5. <div class="grid_8">
  6. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  7. <div style="height:140px;" >
  8. <div class="tutorial-thumb post-thumb" >
  9. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a></div>
  10. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  11. <?php the_excerpt(); ?>
  12. </div>
  13. <?php endwhile; endif; wp_reset_query(); ?>
  14. <?php wp_pagenavi(); ?>
  15. </div>
  16. <?php get_sidebar(); ?>
  17. </div>
  18. <div class="clear"></div>
  19.  
  20. <?php get_footer(); ?>

Report this snippet  

You need to login to post a comment.