Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (35 sloc) 1.747 kb
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
1 <?php
2 /**
3 * Index Template
4 *
f6ea209 Update inline docs of index.php.
greenshady authored
5 * The index template is the "fallback" template. What this means is that it will be used if a more specific
6 * template is not found to display the content of a page.
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
7 *
8 * @package Hybrid
9 * @subpackage Template
a27065a More massive updates and cleanup.
greenshady authored
10 * @link http://themehybrid.com/themes/hybrid/template-hierarchy
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. ?>
14
15 <div id="content" class="hfeed content">
16
17 <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
18
2240380 Call the loop-meta.php template.
greenshady authored
19 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
20
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
21 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
22
23 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
24
25 <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
26
27 <div class="entry-content">
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
28 <?php the_content( sprintf( __( 'Continue reading %1$s', 'hybrid' ), the_title( ' "', '"', false ) ) ); ?>
29 <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hybrid' ), 'after' => '</p>' ) ); ?>
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
30 </div><!-- .entry-content -->
31
32 <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
33
34 </div><!-- .hentry -->
35
36 <?php if ( is_singular() ) { ?>
37
38 <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
39
a27065a More massive updates and cleanup.
greenshady authored
40 <?php comments_template( '/comments.php', true ); // Loads the comments.php template ?>
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
41
42 <?php } ?>
43
44 <?php endwhile; ?>
45
46 <?php else: ?>
47
48 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
49
50 <?php endif; ?>
51
52 <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
53
54 </div><!-- .content .hfeed -->
55
56 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.