[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentyone/template-parts/content/ -> content-excerpt.php (source)

   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_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      <?php get_template_part( 'template-parts/header/excerpt-header', get_post_format() ); ?>
  17  
  18      <div class="entry-content">
  19          <?php get_template_part( 'template-parts/excerpt/excerpt', get_post_format() ); ?>
  20      </div><!-- .entry-content -->
  21  
  22      <footer class="entry-footer default-max-width">
  23          <?php twenty_twenty_one_entry_meta_footer(); ?>
  24      </footer><!-- .entry-footer -->
  25  </article><!-- #post-$ID} -->


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1