Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (21 sloc) 1.399 kb
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
1 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
2 <header>
6f21dc3 Renaming from 'initializr' to 'formattd'.
Dougal Campbell authored
3 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'formattd' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
4 </header>
6f21dc3 Renaming from 'initializr' to 'formattd'.
Dougal Campbell authored
5 <?php formattd_post_date(); ?>
c203ae9 More tweakage.
Dougal Campbell authored
6 <?php if ( ! is_singular() && has_excerpt() ) : /* Only display excerpts for archives and search. */ ?>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
7 <div class="entry-summary">
8 <?php the_excerpt(); ?>
9 </div><!-- .entry-summary -->
10 <?php else : ?>
11 <div class="entry-content">
6f21dc3 Renaming from 'initializr' to 'formattd'.
Dougal Campbell authored
12 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'formattd' ) ); ?>
13 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'formattd' ), 'after' => '</div>' ) ); ?>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
14 </div><!-- .entry-content -->
15 <?php endif; ?>
16
17 <footer>
be5b651 Standardized names of all functions to use the 'formattd_' prefix, and
Dougal Campbell authored
18 <?php echo formattd_time_ago(); ?> <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'formattd' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">#</a>
6f21dc3 Renaming from 'initializr' to 'formattd'.
Dougal Campbell authored
19 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'formattd' ), __( '1 Comment', 'formattd' ), __( '% Comments', 'formattd' ) ); ?></span>
20 <?php edit_post_link( __( 'Edit', 'formattd' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
2e4fc22 Initial commit. Bare bones.
Dougal Campbell authored
21 </footer>
22 </article>
Something went wrong with that request. Please try again.