~canonical-sysadmins/wordpress/4.7.4

« back to all changes in this revision

Viewing changes to wp-content/themes/twentythirteen/content-aside.php

  • Committer: Jacek Nykis
  • Date: 2015-01-05 16:17:05 UTC
  • Revision ID: jacek.nykis@canonical.com-20150105161705-w544l1h5mcg7u4w9
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 -->