[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template for displaying all single posts 4 * 5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post 6 * 7 * @package WordPress 8 * @subpackage Twenty_Twenty_One 9 * @since Twenty Twenty-One 1.0 10 */ 11 12 get_header(); 13 14 /* Start the Loop */ 15 while ( have_posts() ) : 16 the_post(); 17 get_template_part( 'template-parts/content/content-page' ); 18 19 // If comments are open or there is at least one comment, load up the comment template. 20 if ( comments_open() || get_comments_number() ) { 21 comments_template(); 22 } 23 endwhile; // End of the loop. 24 25 get_footer();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |