Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: All Archive
- */
- get_header();
- if (have_posts()) {
- while (have_posts()) : the_post(); ?>
- <div <?php post_class(); ?>>
- <?php easel_display_post_thumbnail(); ?>
- <div class="post-head"><?php do_action('easel-post-head'); ?></div>
- <div class="post-content">
- <div class="post-info">
- <div class="post-text">
- <?php easel_display_post_title(); ?>
- </div>
- </div>
- <div class="clear"></div>
- <div class="entry">
- <?php easel_display_the_content(); ?>
- <h3>Posts By Month:</h3>
- <ul><?php wp_get_archives('type=monthly&show_post_count=1'); ?></ul>
- <h3>Posts By Subject:</h3>
- <ul><?php wp_list_categories('title_li=&hierarchical=0&show_count=1'); ?></ul>
- <h3>Every Brain Spasm I've Shared:</h3>
- <?php query_posts('showposts=1000'); ?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <ul>
- <?php $wp_query ('is_home = false'); ?>
- <li><?php the_time('Y, M j') ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
- <?php endwhile; endif; ?>
- </ul>
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- <?php edit_post_link(__('Edit this page.','easel'), '', ''); ?>
- </div>
- <div class="post-foot"><?php do_action('easel-post-foot'); ?></div>
- </div>
- <?php endwhile;
- if ($post->comment_status == 'open') {
- comments_template('', true);
- }
- }
- get_footer();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement