-
Notifications
You must be signed in to change notification settings - Fork 5
/
header.php
60 lines (52 loc) · 1.55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* Template part for displaying a message that posts cannot be found
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Arke
* @copyright Copyright (c) 2018, Danny Cooper
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/
?>
<!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">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<header class="site-header clear">
<div class="site-branding">
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</h1>
<?php else : ?>
<p class="site-title">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</p>
<?php endif; ?>
</div><!-- .site-branding -->
<nav id="site-navigation" class="menu-1">
<?php
wp_nav_menu(
array(
'theme_location' => 'menu-1',
'menu_id' => 'site-menu',
'depth' => 1,
'fallback_cb' => false,
)
);
?>
</nav><!-- .menu-1 -->
</header><!-- .site-header -->
<div class="site-content">
<div id="content-area" class="content-area">