-
Notifications
You must be signed in to change notification settings - Fork 4
/
header.php
64 lines (43 loc) · 1.12 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
61
62
63
64
<?php
/**
* The template file to display the header of the SMNTCS Retro theme.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage SMNTCS_Retro
* @since 1.0.0
*/
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<link rel="profile" href="https://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<header>
<div id="header-title">
<?php smntcs_retro_site_title(); ?>
<?php smntcs_retro_site_description(); ?>
</div><!-- #header-title -->
<div id="header-menu-wrapper">
<nav id="header-menu">
<?php
if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu(
array(
'theme_location' => 'primary',
'container' => '',
'depth' => 1,
)
);
}
?>
</nav>
<?php smntcs_retro_search(); ?>
<hr>
</div><!-- #header-menu -->
</header>