3 * The template part for displaying results in search pages
5 * Learn more: {@link https://codex.wordpress.org/Template_Hierarchy}
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">
17 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
18 </header><!-- .entry-header -->
20 <div class="entry-summary">
21 <?php the_excerpt(); ?>
22 </div><!-- .entry-summary -->
24 <?php if ( 'post' == get_post_type() ) : ?>
26 <footer class="entry-footer">
27 <?php twentyfifteen_entry_meta(); ?>
28 <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
29 </footer><!-- .entry-footer -->
33 <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
37 </article><!-- #post-## -->