[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template part for displaying results in search pages 4 * 5 * Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/} 6 * 7 * @package WordPress 8 * @subpackage Twenty_Fifteen 9 * @since Twenty Fifteen 1.0 10 */ 11 ?> 12 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 <?php twentyfifteen_post_thumbnail(); ?> 15 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 --> 19 20 <div class="entry-summary"> 21 <?php the_excerpt(); ?> 22 </div><!-- .entry-summary --> 23 24 <?php if ( 'post' === get_post_type() ) : ?> 25 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 --> 30 31 <?php else : ?> 32 33 <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?> 34 35 <?php endif; ?> 36 37 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Wed Dec 25 08:20:01 2024 | Cross-referenced by PHPXref |