3 * The template for displaying link post formats
5 * Used for both single and index/archive/search.
8 * @subpackage Twenty_Fifteen
9 * @since Twenty Fifteen 1.0
13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
14 <?php twentyfifteen_post_thumbnail(); ?>
16 <header class="entry-header">
19 the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' );
21 the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' );
25 <!-- .entry-header -->
27 <div class="entry-content">
29 /* translators: %s: Name of current post */
31 __( 'Continue reading %s', 'twentyfifteen' ),
32 the_title( '<span class="screen-reader-text">', '</span>', false )
36 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
38 'link_before' => '<span>',
39 'link_after' => '</span>',
40 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
41 'separator' => '<span class="screen-reader-text">, </span>',
45 <!-- .entry-content -->
49 if ( is_single() && get_the_author_meta( 'description' ) ) :
50 get_template_part( 'author-bio' );
54 <footer class="entry-footer">
55 <?php twentyfifteen_entry_meta(); ?>
56 <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
58 <!-- .entry-footer -->
60 </article><!-- #post-## -->