[ 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 * @package WordPress 6 * @subpackage Twenty_Sixteen 7 * @since Twenty Sixteen 1.0 8 */ 9 10 ?> 11 12 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 13 <header class="entry-header"> 14 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 15 </header><!-- .entry-header --> 16 17 <?php twentysixteen_post_thumbnail(); ?> 18 19 <?php twentysixteen_excerpt(); ?> 20 21 <?php if ( 'post' === get_post_type() ) : ?> 22 23 <footer class="entry-footer"> 24 <?php twentysixteen_entry_meta(); ?> 25 <?php 26 edit_post_link( 27 sprintf( 28 /* translators: %s: Post title. Only visible to screen readers. */ 29 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 30 get_the_title() 31 ), 32 '<span class="edit-link">', 33 '</span>' 34 ); 35 ?> 36 </footer><!-- .entry-footer --> 37 38 <?php else : ?> 39 40 <?php 41 edit_post_link( 42 sprintf( 43 /* translators: %s: Post title. Only visible to screen readers. */ 44 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 45 get_the_title() 46 ), 47 '<footer class="entry-footer"><span class="edit-link">', 48 '</span></footer><!-- .entry-footer -->' 49 ); 50 ?> 51 52 <?php endif; ?> 53 </article><!-- #post-<?php the_ID(); ?> --> 54
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |