0
|
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"> |
5
|
13 |
<?php |
|
14 |
/* translators: %s: Name of current post */ |
|
15 |
the_content( sprintf( |
|
16 |
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
|
17 |
the_title( '<span class="screen-reader-text">', '</span>', false ) |
|
18 |
) ); |
|
19 |
|
|
20 |
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>' ) ); |
|
21 |
?> |
0
|
22 |
</div><!-- .entry-content --> |
|
23 |
|
|
24 |
<footer class="entry-meta"> |
|
25 |
<?php if ( is_single() ) : ?> |
|
26 |
<?php twentythirteen_entry_meta(); ?> |
|
27 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
28 |
|
|
29 |
<?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?> |
|
30 |
<?php get_template_part( 'author-bio' ); ?> |
|
31 |
<?php endif; ?> |
|
32 |
|
|
33 |
<?php else : ?> |
|
34 |
<?php twentythirteen_entry_date(); ?> |
|
35 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
36 |
<?php endif; // is_single() ?> |
|
37 |
</footer><!-- .entry-meta --> |
|
38 |
</article><!-- #post --> |