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 Video 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 |
<header class="entry-header"> |
|
13 |
<?php if ( is_single() ) : ?> |
|
14 |
<h1 class="entry-title"><?php the_title(); ?></h1> |
|
15 |
<?php else : ?> |
|
16 |
<h1 class="entry-title"> |
|
17 |
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a> |
|
18 |
</h1> |
|
19 |
<?php endif; // is_single() ?> |
|
20 |
</header><!-- .entry-header --> |
|
21 |
||
22 |
<div class="entry-content"> |
|
5 | 23 |
<?php |
24 |
/* translators: %s: Name of current post */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
25 |
the_content( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
26 |
sprintf( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
27 |
__( 'Continue reading %s <span class="meta-nav">→</span>', 'twentythirteen' ), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
28 |
the_title( '<span class="screen-reader-text">', '</span>', false ) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
30 |
); |
5 | 31 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
32 |
wp_link_pages( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
33 |
array( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
34 |
'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
|
35 |
'after' => '</div>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
36 |
'link_before' => '<span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
37 |
'link_after' => '</span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
38 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
39 |
); |
10 | 40 |
?> |
0 | 41 |
</div><!-- .entry-content --> |
42 |
||
43 |
<footer class="entry-meta"> |
|
44 |
<?php twentythirteen_entry_meta(); ?> |
|
45 |
||
46 |
<?php if ( comments_open() && ! is_single() ) : ?> |
|
47 |
<span class="comments-link"> |
|
48 |
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> |
|
49 |
</span><!-- .comments-link --> |
|
50 |
<?php endif; // comments_open() ?> |
|
51 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
52 |
||
53 |
<?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?> |
|
54 |
<?php get_template_part( 'author-bio' ); ?> |
|
55 |
<?php endif; ?> |
|
56 |
</footer><!-- .entry-meta --> |
|
57 |
</article><!-- #post --> |