-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
27 lines (22 loc) · 851 Bytes
/
header.php
File metadata and controls
27 lines (22 loc) · 851 Bytes
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
<?php /*This Template is for displaying Header*/
//set headers to NOT cache a page
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache"); //HTTP 1.0
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: max-age=2592000");
?>
<!DOCTYPE html>
<html lang="<?php language_attributes() ;?>">
<head>
<meta charset="<?php bloginfo( 'charset' ) ?>" class="no-js">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
</head>
<body <?php body_class();?>>
<?php if(function_exists('wp_body_open')){wp_body_open();} ?>
<header id="header_area" class="<?php echo get_theme_mod('omni_menu_position');?>">
<div class="container">
<?php include('template-parts/header/nav.php');?>
</div>
</header>
<main id="main" class="site-main" role="main">