wp/wp-content/themes/twentythirteen/content-link.php
changeset 0 d970ebf37754
child 5 5e2f62d02dcd
equal deleted inserted replaced
-1:000000000000 0:d970ebf37754
       
     1 <?php
       
     2 /**
       
     3  * The template for displaying posts in the Link 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 		<h1 class="entry-title">
       
    14 			<a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>"><?php the_title(); ?></a>
       
    15 		</h1>
       
    16 
       
    17 		<div class="entry-meta">
       
    18 			<?php twentythirteen_entry_date(); ?>
       
    19 			<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
       
    20 		</div><!-- .entry-meta -->
       
    21 	</header><!-- .entry-header -->
       
    22 
       
    23 	<div class="entry-content">
       
    24 		<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentythirteen' ) ); ?>
       
    25 		<?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>' ) ); ?>
       
    26 	</div><!-- .entry-content -->
       
    27 
       
    28 	<?php if ( is_single() ) : ?>
       
    29 	<footer class="entry-meta">
       
    30 		<?php twentythirteen_entry_meta(); ?>
       
    31 		<?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : ?>
       
    32 			<?php get_template_part( 'author-bio' ); ?>
       
    33 		<?php endif; ?>
       
    34 	</footer><!-- .entry-meta -->
       
    35 	<?php endif; // is_single() ?>
       
    36 </article><!-- #post -->