Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (35 sloc) 1.77 kb
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
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
a27065a6 » greenshady
2010-12-29 More massive updates and cleanup.
10 * @deprecated 0.9.0 This template will eventually be moved to the Hybrid page templates pack.
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
11 */
12
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
13 get_header(); // Loads the header.php template. ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
14
15 <div id="content" class="hfeed content">
16
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
17 <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
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
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
23 <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
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
6d686262 »
2012-08-23 Switch all calls of hybrid_get_textdomain() to 'hybrid'.
33 <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hybrid' ), 'after' => '</p>' ) ); ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
34
35 </div><!-- .entry-content -->
36
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
37 <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
38
39 </div><!-- .hentry -->
40
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
41 <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
42
a27065a6 » greenshady
2010-12-29 More massive updates and cleanup.
43 <?php comments_template( '/comments.php', true ); // Loads the comments.php template ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
44
45 <?php endwhile; ?>
46
47 <?php else: ?>
48
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
49 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
50
51 <?php endif; ?>
52
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
53 <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
6ef41661 » greenshady
2010-04-07 Moving the /themes/hybrid project online. We'll lose all of our revis…
54
55 </div><!-- .content .hfeed -->
56
eceb0412 » greenshady
2010-12-29 Crazy amounts of updates to bring this up to date with Hybrid Core.
57 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.