[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Template part for displaying posts 4 * 5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ 6 * 7 * @package WordPress 8 * @subpackage Twenty_Twenty_One 9 * @since Twenty Twenty-One 1.0 10 */ 11 12 ?> 13 14 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 15 16 <header class="entry-header alignwide"> 17 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> 18 <?php twenty_twenty_one_post_thumbnail(); ?> 19 </header><!-- .entry-header --> 20 21 <div class="entry-content"> 22 <?php 23 the_content(); 24 25 wp_link_pages( 26 array( 27 'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">', 28 'after' => '</nav>', 29 /* translators: %: Page number. */ 30 'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ), 31 ) 32 ); 33 ?> 34 </div><!-- .entry-content --> 35 36 <footer class="entry-footer default-max-width"> 37 <?php twenty_twenty_one_entry_meta_footer(); ?> 38 </footer><!-- .entry-footer --> 39 40 <?php if ( ! is_singular( 'attachment' ) ) : ?> 41 <?php get_template_part( 'template-parts/post/author-bio' ); ?> 42 <?php endif; ?> 43 44 </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 |