Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 73 lines (43 sloc) 2.584 kb
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
1 <?php
2 /**
3 * Index Template
4 *
5 * This is the default template. It is used when a more specific template can't be found to display
6 * posts. It is unlikely that this template will ever be used, but there may be rare cases.
7 *
8 * @package Retro-fitted
9 * @subpackage Template
10 */
11
12 get_header(); // Loads the header.php template. ?>
13
14 <?php do_atomic( 'before_content' ); // retro-fitted_before_content ?>
15
16 <div id="content">
17
18 <?php get_sidebar( 'before-content' ); // Loads the sidebar-before-content.php template. ?>
19
20 <?php do_atomic( 'open_content' ); // retro-fitted_open_content ?>
21
22 <div class="hfeed">
23
24 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
25
26 <?php if ( have_posts() ) : ?>
27
28 <?php while ( have_posts() ) : the_post(); ?>
29
30 <?php do_atomic( 'before_entry' ); // retro-fitted_before_entry ?>
31
32 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
33
34 <?php do_atomic( 'open_entry' ); // retro-fitted_open_entry ?>
35
36 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
37
2a48f90 Justin Tadlock Update text strings to use the 'retro-fitted' textdomain instead of hybr...
authored
38 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'By [entry-author] on [entry-published] [entry-edit-link before=" | "]', 'retro-fitted' ) . '</div>' ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
39
40 <div class="entry-content">
2a48f90 Justin Tadlock Update text strings to use the 'retro-fitted' textdomain instead of hybr...
authored
41 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'retro-fitted' ) ); ?>
42 <?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
43 </div><!-- .entry-content -->
44
2a48f90 Justin Tadlock Update text strings to use the 'retro-fitted' textdomain instead of hybr...
authored
45 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="| Tagged "] [entry-comments-link before=" | "]', 'retro-fitted' ) . '</div>' ); ?>
74eeed1 Importing the theme files and switching back to Hybrid Core trunk.
greenshady authored
46
47 <?php do_atomic( 'close_entry' ); // retro-fitted_close_entry ?>
48
49 </div><!-- .hentry -->
50
51 <?php do_atomic( 'after_entry' ); // retro-fitted_after_entry ?>
52
53 <?php endwhile; ?>
54
55 <?php else : ?>
56
57 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
58
59 <?php endif; ?>
60
61 </div><!-- .hfeed -->
62
63 <?php do_atomic( 'close_content' ); // retro-fitted_close_content ?>
64
65 <?php get_sidebar( 'after-content' ); // Loads the sidebar-after-content.php template. ?>
66
67 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
68
69 </div><!-- #content -->
70
71 <?php do_atomic( 'after_content' ); // retro-fitted_after_content ?>
72
73 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.