author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:30:03 +0200 | |
changeset 10 | 372f2766ea20 |
parent 7 | cf61fcea0001 |
permissions | -rw-r--r-- |
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 */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
15 |
the_content( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
16 |
sprintf( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
17 |
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
18 |
the_title( '<span class="screen-reader-text">', '</span>', false ) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
19 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
20 |
); |
5 | 21 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
22 |
wp_link_pages( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
23 |
array( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
24 |
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
25 |
'after' => '</div>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
26 |
'link_before' => '<span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
27 |
'link_after' => '</span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
28 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
); |
10 | 30 |
?> |
0 | 31 |
</div><!-- .entry-content --> |
32 |
||
33 |
<footer class="entry-meta"> |
|
34 |
<?php if ( is_single() ) : ?> |
|
35 |
<?php twentythirteen_entry_meta(); ?> |
|
36 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
37 |
||
38 |
<?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?> |
|
39 |
<?php get_template_part( 'author-bio' ); ?> |
|
40 |
<?php endif; ?> |
|
41 |
||
42 |
<?php else : ?> |
|
43 |
<?php twentythirteen_entry_date(); ?> |
|
44 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
45 |
<?php endif; // is_single() ?> |
|
46 |
</footer><!-- .entry-meta --> |
|
47 |
</article><!-- #post --> |