Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (35 sloc) 1.77 kB
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
1 <?php
2 /**
3 * Template Name: Yearly
4 *
5 * The Yearly page template is used to show a list of your post archives by year. For each year a
6 * post has been made, the year is listed along with the number of posts for that particular year.
7 *
8 * @package Hybrid
9 * @subpackage Template
a27065a More massive updates and cleanup.
greenshady authored
10 * @deprecated 0.9.0 This template will eventually be moved to the Hybrid page templates pack.
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
11 */
12
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
13 get_header(); // Loads the header.php template. ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
14
15 <div id="content" class="hfeed content">
16
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
17 <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
18
19 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
20
21 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
22
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
23 <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
24
25 <div class="entry-content">
26
27 <?php the_content(); ?>
28
29 <ul class="xoxo yearly-archives">
30 <?php wp_get_archives( array( 'type' => 'yearly', 'show_post_count' => true ) ); ?>
31 </ul><!-- .xoxo .yearly-archives -->
32
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
33 <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hybrid' ), 'after' => '</p>' ) ); ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
34
35 </div><!-- .entry-content -->
36
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
37 <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
38
39 </div><!-- .hentry -->
40
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
41 <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
42
a27065a More massive updates and cleanup.
greenshady authored
43 <?php comments_template( '/comments.php', true ); // Loads the comments.php template ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
44
45 <?php endwhile; ?>
46
47 <?php else: ?>
48
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
49 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
50
51 <?php endif; ?>
52
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
53 <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
54
55 </div><!-- .content .hfeed -->
56
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
57 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.