[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentyone/ -> header.php (source)

   1  <?php
   2  /**
   3   * The header.
   4   *
   5   * This is the template that displays all of the <head> section and everything up until main.
   6   *
   7   * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_One
  11   * @since Twenty Twenty-One 1.0
  12   */
  13  
  14  ?>
  15  <!doctype html>
  16  <html <?php language_attributes(); ?> <?php twentytwentyone_the_html_classes(); ?>>
  17  <head>
  18      <meta charset="<?php bloginfo( 'charset' ); ?>" />
  19      <meta name="viewport" content="width=device-width, initial-scale=1" />
  20      <?php wp_head(); ?>
  21  </head>
  22  
  23  <body <?php body_class(); ?>>
  24  <?php wp_body_open(); ?>
  25  <div id="page" class="site">
  26      <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'twentytwentyone' ); ?></a>
  27  
  28      <?php get_template_part( 'template-parts/header/site-header' ); ?>
  29  
  30      <div id="content" class="site-content">
  31          <div id="primary" class="content-area">
  32              <main id="main" class="site-main">


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