]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentythirteen/content-aside.php
WordPress 3.9
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / content-aside.php
1 <?php
2 /**
3  * The template for displaying posts in the Aside post format
4  *
5  * @package WordPress
6  * @subpackage Twenty_Thirteen
7  * @since Twenty Thirteen 1.0
8  */
9 ?>
10
11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12         <div class="entry-content">
13                 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
14                 <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
15         </div><!-- .entry-content -->
16
17         <footer class="entry-meta">
18                 <?php if ( is_single() ) : ?>
19                         <?php twentythirteen_entry_meta(); ?>
20                         <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
21
22                         <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
23                                 <?php get_template_part( 'author-bio' ); ?>
24                         <?php endif; ?>
25
26                 <?php else : ?>
27                         <?php twentythirteen_entry_date(); ?>
28                         <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
29                 <?php endif; // is_single() ?>
30         </footer><!-- .entry-meta -->
31 </article><!-- #post -->