Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 46 lines (35 sloc) 1.266 kB
a55f235 cleanup remaining windows line endings from root
unknown authored
1 <?php
2 /*
3 Template Name: Archives
4 */
5
6 get_header(); ?>
7
8
9
10 <?php if (have_posts()) { while (have_posts()) { the_post(); ?>
078b6ff @beastaugh Replace tabs with spaces.
authored
11 <div class="primary-span entry">
12 <div class="meta">
13 <h1 class="title"><?php the_title(); ?></h1>
14 <?php edit_post_link(__('edit page','tarski'), '<p class="metadata">(', ')</p>'); ?>
15 </div> <!-- /meta -->
16
17 <?php if(get_the_content() != "") { ?>
18 <div class="content">
19 <?php the_content(); ?>
20 </div> <!-- /content -->
21 <?php } ?>
22 </div> <!-- /page header -->
23
24 <div class="primary">
25 <h3><?php _e('Monthly Archives', 'tarski'); ?></h3>
26
27 <ul class="archivelist xoxo">
28 <?php wp_get_archives(array('type' => 'monthly', 'show_post_count' => true)); ?>
29 </ul>
30 <?php th_postend(); ?>
31 </div> <!-- /primary -->
a55f235 cleanup remaining windows line endings from root
unknown authored
32 <?php } } ?>
33
078b6ff @beastaugh Replace tabs with spaces.
authored
34 <div class="secondary">
35 <?php if(get_tarski_option('show_categories')) { ?>
36 <h3><?php _e('Category Archives', 'tarski'); ?></h3>
37 <ul class="archivelist xoxo">
38 <?php wp_list_categories(array('order' => 'DESC', 'title_li' => false)); ?>
39 </ul>
40 <?php } ?>
41 <?php th_sidebar(); ?>
42 </div> <!-- /secondary -->
43
44
a55f235 cleanup remaining windows line endings from root
unknown authored
45
2f25afd Tarski 1.3
Chris Sternal-Johnson authored
46 <?php get_footer(); ?>
Something went wrong with that request. Please try again.