Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (35 sloc) 1.625 kb
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Page Content Template
4 *
5 * Template used to show the content of posts with the 'page' post type.
6 *
7 * @package MyLife
8 * @subpackage Template
9 * @since 0.1.0
10 * @author Justin Tadlock <justin@justintadlock.com>
877f5cf @justintadlock Update copyright and theme info.
authored
11 * @copyright Copyright (c) 2011 - 2012, Justin Tadlock
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
12 * @link http://themehybrid.com/themes/my-life
13 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
14 */
15
16 do_atomic( 'before_entry' ); // my-life_before_entry ?>
17
18 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
19
20 <?php do_atomic( 'open_entry' ); // my-life_open_entry ?>
21
22 <?php if ( is_singular() ) { ?>
23
24 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
25
26 <div class="entry-content">
27 <?php the_content(); ?>
28 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'my-life' ), 'after' => '</p>' ) ); ?>
29 </div><!-- .entry-content -->
30
31 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
32
33 <?php } else { ?>
34
35 <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'thumbnail' ) ); ?>
36
37 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
38
39 <div class="entry-summary">
40 <?php the_excerpt(); ?>
41 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'my-life' ), 'after' => '</p>' ) ); ?>
42 </div><!-- .entry-summary -->
43
44 <?php } ?>
45
46 <?php do_atomic( 'close_entry' ); // my-life_close_entry ?>
47
48 </div><!-- .hentry -->
49
50 <?php do_atomic( 'after_entry' ); // my-life_after_entry ?>
Something went wrong with that request. Please try again.