mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 12:54:00 +02:00
This aims to provide better context for translators and make it easier to determine that some strings contain hidden accessibility text and are not displayed in the UI. Props kebbet, mercime, pavelevap, ocean90, swissspidy, Chouby, jipmoors, afercia, desrosj, costdev, audrasjb, SergeyBiryukov. Fixes #29748. Built from https://develop.svn.wordpress.org/trunk@55276 git-svn-id: http://core.svn.wordpress.org/trunk@54809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* The header.
|
|
*
|
|
* This is the template that displays all of the <head> section and everything up until main.
|
|
*
|
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_One
|
|
* @since Twenty Twenty-One 1.0
|
|
*/
|
|
|
|
?>
|
|
<!doctype html>
|
|
<html <?php language_attributes(); ?> <?php twentytwentyone_the_html_classes(); ?>>
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<?php wp_head(); ?>
|
|
</head>
|
|
|
|
<body <?php body_class(); ?>>
|
|
<?php wp_body_open(); ?>
|
|
<div id="page" class="site">
|
|
<a class="skip-link screen-reader-text" href="#content">
|
|
<?php
|
|
/* translators: Hidden accessibility text. */
|
|
esc_html_e( 'Skip to content', 'twentytwentyone' );
|
|
?>
|
|
</a>
|
|
|
|
<?php get_template_part( 'template-parts/header/site-header' ); ?>
|
|
|
|
<div id="content" class="site-content">
|
|
<div id="primary" class="content-area">
|
|
<main id="main" class="site-main">
|