Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 69 lines (41 sloc) 2.357 kb
7c50385 Adding the initial Prototype files and folders.
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 *
839713b Updates galore for the Prototype theme.
greenshady authored
8 * @package Prototype
7c50385 Adding the initial Prototype files and folders.
greenshady authored
9 * @subpackage Template
10 */
11
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
12 get_header(); // Loads the header.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
13
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
14 <?php do_atomic( 'before_content' ); // prototype_before_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
15
16 <div id="content">
17
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
18 <?php do_atomic( 'open_content' ); // prototype_open_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
19
20 <div class="hfeed">
21
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
22 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
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
28 <?php do_atomic( 'before_entry' ); // prototype_before_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
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
32 <?php do_atomic( 'open_entry' ); // prototype_open_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
33
34 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
35
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored
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
37
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
38 <div class="entry-content">
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored
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
41 </div><!-- .entry-content -->
7c50385 Adding the initial Prototype files and folders.
greenshady authored
42
f11b428 @justintadlock Change all instances of hybrid_get_textdomain() to 'prototype'.
authored
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
44
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
45 <?php do_atomic( 'close_entry' ); // prototype_close_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
46
47 </div><!-- .hentry -->
48
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
49 <?php do_atomic( 'after_entry' ); // prototype_after_entry ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
50
51 <?php endwhile; ?>
52
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
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
57 <?php endif; ?>
58
59 </div><!-- .hfeed -->
60
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
61 <?php do_atomic( 'close_content' ); // prototype_close_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
62
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
63 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
64
65 </div><!-- #content -->
66
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
67 <?php do_atomic( 'after_content' ); // prototype_after_content ?>
7c50385 Adding the initial Prototype files and folders.
greenshady authored
68
b65aeaf Tons of updates to get Prototype ready for release.
greenshady authored
69 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.