This repository was archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·64 lines (48 loc) · 1.34 KB
/
header.php
File metadata and controls
executable file
·64 lines (48 loc) · 1.34 KB
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 header for our theme.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Forte
* @link https://themebeans.com/themes/forte
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
?>
<?php if ( ! is_404() && ! is_page_template( 'template-underconstruction.php' ) ) { ?>
<div id="skrollr-body">
<div id="theme-wrapper">
<?php if ( has_nav_menu( 'mobile-menu' ) ) : ?>
<nav id="mobile-nav">
<?php
wp_nav_menu(
array(
'theme_location' => 'mobile-menu',
'depth' => 1,
)
);
?>
</nav>
<?php endif; ?>
<div id="page" class="hfeed site">
<div class="nav-overlay"></div>
<header id="header" class="header">
<?php forte_site_logo(); ?>
<?php if ( true === get_theme_mod( 'hidden_sidebar' ) ) { ?>
<a class="sidebar-btn" href="javascript:void(0);"><span></span></a>
<?php } ?>
</header>
<?php
}