36 lines
1 KiB
PHP
36 lines
1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* The header for our theme.
|
||
|
*
|
||
|
* This is the template that displays all of the <head> section and everything up until <div id="content">
|
||
|
*
|
||
|
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
|
||
|
*
|
||
|
* @package Affinity
|
||
|
*/
|
||
|
|
||
|
?><!DOCTYPE html>
|
||
|
<html <?php language_attributes(); ?>>
|
||
|
<head>
|
||
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||
|
|
||
|
<?php wp_head(); ?>
|
||
|
</head>
|
||
|
|
||
|
<body <?php body_class(); ?>>
|
||
|
<div id="page" class="site">
|
||
|
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'affinity' ); ?></a>
|
||
|
|
||
|
<header id="masthead" class="site-header" role="banner">
|
||
|
|
||
|
<?php get_template_part( 'components/header/header', 'image' ); ?>
|
||
|
|
||
|
<?php get_template_part( 'components/header/site', 'branding' ); ?>
|
||
|
|
||
|
</header>
|
||
|
|
||
|
<div id="content" class="site-content">
|