Advertisement
megatherion93

fullarchive

Jul 3rd, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.32 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: All Archive
  4. */
  5. get_header();
  6.  
  7. if (have_posts()) {
  8. while (have_posts()) : the_post(); ?>
  9. <div <?php post_class(); ?>>
  10. <?php easel_display_post_thumbnail(); ?>
  11. <div class="post-head"><?php do_action('easel-post-head'); ?></div>
  12. <div class="post-content">
  13. <div class="post-info">
  14. <div class="post-text">
  15. <?php easel_display_post_title(); ?>
  16. </div>
  17. </div>
  18. <div class="clear"></div>
  19. <div class="entry">
  20. <?php easel_display_the_content(); ?>
  21.  
  22. <h3>Posts By Month:</h3>
  23. <ul><?php wp_get_archives('type=monthly&show_post_count=1'); ?></ul>
  24.  
  25. <h3>Posts By Subject:</h3>
  26. <ul><?php wp_list_categories('title_li=&hierarchical=0&show_count=1'); ?></ul>
  27.  
  28. <h3>Every Brain Spasm I've Shared:</h3>
  29. <?php query_posts('showposts=1000'); ?>
  30. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  31.  
  32. <ul>
  33. <?php $wp_query ('is_home = false'); ?>
  34. <li><?php the_time('Y, M j') ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
  35. <?php endwhile; endif; ?>
  36. </ul>
  37.  
  38. <div class="clear"></div>
  39. </div>
  40. <div class="clear"></div>
  41. <?php edit_post_link(__('Edit this page.','easel'), '', ''); ?>
  42. </div>
  43. <div class="post-foot"><?php do_action('easel-post-foot'); ?></div>
  44. </div>
  45. <?php endwhile;
  46. if ($post->comment_status == 'open') {
  47. comments_template('', true);
  48. }
  49. }
  50.  
  51. get_footer();
  52. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement