-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
61 lines (46 loc) · 2.21 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
<!DOCTYPE html><!-- HTML 5 -->
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Cache-control" content="public, max-age=290304000">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php /* Embeds HTML5shiv to support HTML5 elements in older IE versions. */ ?>
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php themezee_wrapper_before(); // hook before #wrapper ?>
<div id="wrapper" class="hfeed">
<?php themezee_header_before(); // hook before #header ?>
<div id="header-wrap">
<header id="header" class="container clearfix" role="banner">
<div id="logo">
<a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<?php // Display Logo Image or Site Title
$options = get_option('zeefocus_options');
if ( isset($options['themeZee_general_logo']) and $options['themeZee_general_logo'] <> "" ) : ?>
<img class="logo-image" src="<?php echo esc_url($options['themeZee_general_logo']); ?>" alt="Logo" /></a>
<?php else: ?>
<h1 class="site-title"><?php bloginfo('name'); ?></h1>
<?php endif; ?>
</a>
<?php if(isset($options['themeZee_general_tagline']) and $options['themeZee_general_tagline'] == 'true') : ?>
<h2 class="site-description""><?php echo bloginfo('description'); ?></h2>
<?php endif; ?>
</div>
</header>
</div>
<?php themezee_header_after(); // hook after #header ?>
<div id="navi-wrap">
<nav id="mainnav" class="container clearfix" role="navigation">
<?php
// Get Navigation out of Theme Options
wp_nav_menu(array('theme_location' => 'main_navi', 'container' => false, 'menu_id' => 'mainnav-menu', 'echo' => true, 'fallback_cb' => 'themezee_default_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0));
?>
</nav>
</div>