Skip to content
Newer
Older
100644 69 lines (41 sloc) 2.3 KB
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
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 *
839713b Updates galore for the Prototype theme.
greenshady authored Oct 9, 2010
8 * @package Prototype
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
9 * @subpackage Template
10 */
11
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
12 get_header(); // Loads the header.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
13
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
14 <?php do_atomic( 'before_content' ); // prototype_before_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
15
16 <div id="content">
17
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
18 <?php do_atomic( 'open_content' ); // prototype_open_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
19
20 <div class="hfeed">
21
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
22 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
23
24 <?php if ( have_posts() ) : ?>
25
26 <?php while ( have_posts() ) : the_post(); ?>
27
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
28 <?php do_atomic( 'before_entry' ); // prototype_before_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
29
30 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
31
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
32 <?php do_atomic( 'open_entry' ); // prototype_open_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
33
34 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
35
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored Aug 23, 2012
36 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'By [entry-author] on [entry-published] [entry-edit-link before=" | "]', 'prototype' ) . '</div>' ); ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
37
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
38 <div class="entry-content">
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored Aug 23, 2012
39 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'prototype' ) ); ?>
40 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'prototype' ), 'after' => '</p>' ) ); ?>
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
41 </div><!-- .entry-content -->
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
42
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored Aug 23, 2012
43 <?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=" | "]', 'prototype' ) . '</div>' ); ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
44
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
45 <?php do_atomic( 'close_entry' ); // prototype_close_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
46
47 </div><!-- .hentry -->
48
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
49 <?php do_atomic( 'after_entry' ); // prototype_after_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
50
51 <?php endwhile; ?>
52
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
53 <?php else : ?>
54
55 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
56
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
57 <?php endif; ?>
58
59 </div><!-- .hfeed -->
60
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
61 <?php do_atomic( 'close_content' ); // prototype_close_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
62
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
63 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
64
65 </div><!-- #content -->
66
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
67 <?php do_atomic( 'after_content' ); // prototype_after_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored Aug 22, 2010
68
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored Oct 19, 2010
69 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.