Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 81 lines (48 sloc) 2.703 kb
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
1 <?php
2 /**
3 * Template Name: Archives
4 *
5 * A custom page template for displaying blog archives.
6 *
7 * @package Retro-fitted
8 * @subpackage Template
9 */
10
11 get_header(); // Loads the header.php template. ?>
12
13 <?php do_atomic( 'before_content' ); // retro-fitted_before_content ?>
14
15 <div id="content">
16
17 <?php get_sidebar( 'before-content' ); // Loads the sidebar-before-content.php template. ?>
18
19 <?php do_atomic( 'open_content' ); // retro-fitted_open_content ?>
20
21 <div class="hfeed">
22
23 <?php if ( have_posts() ) : ?>
24
25 <?php while ( have_posts() ) : the_post(); ?>
26
27 <?php do_atomic( 'before_entry' ); // retro-fitted_before_entry ?>
28
29 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
30
31 <?php do_atomic( 'open_entry' ); // retro-fitted_open_entry ?>
32
33 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
34
35 <div class="entry-content">
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of h…
authored
36 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'retro-fitted' ) ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
37
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of h…
authored
38 <h2><?php _e( 'Archives by category', 'retro-fitted' ); ?></h2>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
39
40 <ul class="xoxo category-archives">
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of h…
authored
41 <?php wp_list_categories( array( 'feed' => __( 'RSS', 'retro-fitted' ), 'show_count' => true, 'use_desc_for_title' => false, 'title_li' => false ) ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
42 </ul><!-- .xoxo .category-archives -->
43
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of h…
authored
44 <h2><?php _e( 'Archives by month', 'retro-fitted' ); ?></h2>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
45
46 <ul class="xoxo monthly-archives">
47 <?php wp_get_archives( array( 'show_post_count' => true, 'type' => 'monthly' ) ); ?>
48 </ul><!-- .xoxo .monthly-archives -->
49
2a48f90 @justintadlock Update text strings to use the 'retro-fitted' textdomain instead of h…
authored
50 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'retro-fitted' ), 'after' => '</p>' ) ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
51 </div><!-- .entry-content -->
52
53 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
54
55 <?php do_atomic( 'close_entry' ); // retro-fitted_close_entry ?>
56
57 </div><!-- .hentry -->
58
59 <?php do_atomic( 'after_entry' ); // retro-fitted_after_entry ?>
60
61 <?php get_sidebar( 'after-singular' ); // Loads the sidebar-after-singular.php template. ?>
62
63 <?php do_atomic( 'after_singular' ); // retro-fitted_after_singular ?>
64
65 <?php comments_template( '/comments.php', true ); // Loads the comments.php template. ?>
66
67 <?php endwhile; ?>
68
69 <?php endif; ?>
70
71 </div><!-- .hfeed -->
72
73 <?php do_atomic( 'close_content' ); // retro-fitted_close_content ?>
74
75 <?php get_sidebar( 'after-content' ); // Loads the sidebar-after-content.php template. ?>
76
77 </div><!-- #content -->
78
79 <?php do_atomic( 'after_content' ); // retro-fitted_after_content ?>
80
81 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.