[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Template part for displaying post archives and search results 4 * 5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ 6 * 7 * @package WordPress 8 * @subpackage Twenty_Nineteen 9 * @since Twenty Nineteen 1.0 10 */ 11 12 ?> 13 14 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 15 <header class="entry-header"> 16 <?php 17 if ( is_sticky() && is_home() && ! is_paged() ) { 18 printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) ); 19 } 20 the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); 21 ?> 22 </header><!-- .entry-header --> 23 24 <?php twentynineteen_post_thumbnail(); ?> 25 26 <div class="entry-content"> 27 <?php the_excerpt(); ?> 28 </div><!-- .entry-content --> 29 30 <footer class="entry-footer"> 31 <?php twentynineteen_entry_footer(); ?> 32 </footer><!-- .entry-footer --> 33 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |