]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/twentythirteen/content-audio.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / content-audio.php
1 <?php
2 /**
3  * The template for displaying posts in the Audio 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">
23                 <div class="audio-content">
24                         <?php
25                         /* translators: %s: Name of current post */
26                         the_content( sprintf(
27                                 __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ),
28                                 the_title( '<span class="screen-reader-text">', '</span>', false )
29                         ) );
30
31                         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>' ) );
32                 ?>
33                 </div><!-- .audio-content -->
34         </div><!-- .entry-content -->
35
36         <footer class="entry-meta">
37                 <?php twentythirteen_entry_meta(); ?>
38                 <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
39
40                 <?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
41                         <?php get_template_part( 'author-bio' ); ?>
42                 <?php endif; ?>
43         </footer><!-- .entry-meta -->
44 </article><!-- #post -->