-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
46 lines (45 loc) · 1.87 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?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 customs
*/
?>
<!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="https://gmpg.org/xfn/11">
<link rel="apple-touch-icon" sizes="180x180" href="<?= get_template_directory_uri() . '/assets/icons/apple-touch-icon.png' ?>">
<link rel="icon" type="image/png" sizes="32x32" href="<?= get_template_directory_uri() . '/assets/icons/favicon-32x32.png' ?>">
<link rel="icon" type="image/png" sizes="16x16" href="<?= get_template_directory_uri() . '/assets/icons/favicon-16x16.png' ?>">
<link rel="mask-icon" href="<?= get_template_directory_uri() . '/assets/icons/safari-pinned-tab.svg' ?>" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site">
<header id="masthead" class="site-header header">
<div class="container g-0">
<div class="header__row row">
<div class="site-branding col-8 col-xl-3">
<a href="<?= esc_url( site_url() ) ?>" class="header__logo-link" rel="home">
<img src="<?= get_template_directory_uri() . '/assets/icons/logo.svg' ?>"
width="262" height="80"
title="<?php bloginfo( 'name' ) ?>"
class="header__logo" alt="<?php bloginfo( 'name' ) ?>">
</a>
</div>
<div class="header__right col-4 col-xl-9 justify-content-end">
<?php get_template_part( 'template-parts/main-navigation' ) ?>
</div>
</div>
</div>
</header><!-- #masthead -->