-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-post.php
54 lines (52 loc) · 2.61 KB
/
header-post.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
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title><?php wp_title('|', true, 'right'); bloginfo('name') ?></title>
<meta name="author" content="Timo Lehtonen">
<meta name="description" content="description here">
<meta name="keywords" content="Etiam vitae purus dignissim">
<?php wp_head(); ?>
</head>
<body>
<a href="#maincontent" class="skip anchor-button">Skip to main content</a>
<div class="grid">
<header>
<div class="flex-container top-bar">
<?php
if ( get_custom_logo() ) {
the_custom_logo();
} else {
$site_title = get_bloginfo( 'name' );
echo '<a href="' . home_url() . '" class="site-title">' . $site_title . '</a>';
} ?>
<div class="settings">
<button aria-label="Format size" id="format_size">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px"
height="24px">
<path d="M0 0h24v24H0z" fill="none" />
<path d="M9 4v3h5v12h3V7h5V4H9zm-6 8h3v7h3v-7h3V9H3v3z" />
</svg>
</button>
<button aria-label="Invert colors" id="invert_colors">
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24"
fill="black" width="24px" height="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none" />
</g>
<g>
<path
d="M12,4.81L12,19c-3.31,0-6-2.63-6-5.87c0-1.56,0.62-3.03,1.75-4.14L12,4.81 M6.35,7.56L6.35,7.56C4.9,8.99,4,10.96,4,13.13 C4,17.48,7.58,21,12,21c4.42,0,8-3.52,8-7.87c0-2.17-0.9-4.14-2.35-5.57l0,0L12,2L6.35,7.56z" />
</g>
</svg>
</button>
</div>
</div>
<nav aria-label="Breadcrumb" class="breadcrumb">
<ol>
<li><a class="anchor-button" href="<?php echo home_url() ?>">Front page</a></li>
<li><a class="anchor-button" href="<?php echo wp_get_current_url() ?>" aria-current="page"><?php the_title(); ?></a></li>
</ol>
</nav>
</header>