[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwenty/templates/ -> template-cover.php (source)

   1  <?php
   2  /**
   3   * Template Name: Cover Template
   4   * Template Post Type: post, page
   5   *
   6   * @package WordPress
   7   * @subpackage Twenty_Twenty
   8   * @since Twenty Twenty 1.0
   9   */
  10  
  11  get_header();
  12  ?>
  13  
  14  <main id="site-content">
  15  
  16      <?php
  17  
  18      if ( have_posts() ) {
  19  
  20          while ( have_posts() ) {
  21              the_post();
  22  
  23              get_template_part( 'template-parts/content-cover' );
  24          }
  25      }
  26  
  27      ?>
  28  
  29  </main><!-- #site-content -->
  30  
  31  <?php get_template_part( 'template-parts/footer-menus-widgets' ); ?>
  32  
  33  <?php get_footer(); ?>


Generated: Fri Nov 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1