Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (35 sloc) 1.946 kb
2aa88900 » greenshady
2011-12-05 Importing the initial My Life theme files and folders.
1 <?php
2 /**
3 * Aside Content Template
4 *
5 * Template used to show posts with the 'aside' post format.
6 *
7 * @package MyLife
8 * @subpackage Template
9 * @since 0.1.0
10 * @author Justin Tadlock <justin@justintadlock.com>
7d67bf4c »
2013-04-10 Bring copyright version up to date and version bump to 0.3.0.
11 * @copyright Copyright (c) 2011 - 2013, Justin Tadlock
2aa88900 » greenshady
2011-12-05 Importing the initial My Life theme files and folders.
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 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-edit-link before="| "]', 'my-life' ) . '</div>' ); ?>
27
28 <div class="entry-content">
29 <?php the_content(); ?>
30 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'my-life' ), 'after' => '</p>' ) ); ?>
31 </div><!-- .entry-content -->
32
33 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'my-life' ) . '</div>' ); ?>
34
35 <?php } else { ?>
36
37 <div class="entry-content">
38 <?php the_content(); ?>
39 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'my-life' ), 'after' => '</p>' ) ); ?>
40 </div><!-- .entry-content -->
41
42 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'my-life' ) . '</div>' ); ?>
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.