-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
101 lines (70 loc) · 2.33 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
/**
* Template for site header
* @package themify
* @since 1.0.0
*/
?>
<!doctype html>
<html <?php echo themify_get_html_schema(); ?> <?php language_attributes(); ?>>
<head>
<?php
/** Themify Default Variables
* @var object */
global $themify; ?>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<title itemprop="name"><?php wp_title( '' ); ?></title>
<?php
/**
* Stylesheets and Javascript files are enqueued in theme-functions.php
*/
?>
<!-- wp_header -->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php themify_body_start(); // hook ?>
<div id="pagewrap" class="hfeed site">
<div id="headerwrap">
<?php themify_header_before(); // hook ?>
<header id="header">
<?php themify_header_start(); // hook ?>
<?php echo themify_logo_image(); ?>
<?php if ( $site_desc = get_bloginfo( 'description' ) ) : ?>
<?php global $themify_customizer; ?>
<div id="site-description" class="site-description"><?php echo class_exists( 'Themify_Customizer' ) ? $themify_customizer->site_description( $site_desc ) : $site_desc; ?></div>
<?php endif; ?>
<div id="menu-icon" class="mobile-button"><?php _e( 'Menu', 'themify' ); ?></div>
<!-- <div class="navwrap clearfix"> -->
<div id="slide-nav" class="clearfix">
<a id="menu-icon-close" href="#slide-nav"></a>
<div class="secondarymenu-wrap clearfix">
<div class="social-widget">
<?php dynamic_sidebar('social-widget'); ?>
<?php if(!themify_check('setting-exclude_rss')): ?>
<div class="rss"><a href="<?php if(themify_get('setting-custom_feed_url') != ''){ echo themify_get('setting-custom_feed_url'); } else { bloginfo('rss2_url'); } ?>">RSS</a></div>
<?php endif ?>
</div>
<!-- /.social-widget -->
</div>
<!-- /.secondarymenu-wrap -->
<div id="main-nav-wrap">
<!-- <div id="menu-icon" class="mobile-button">
Menu
</div> -->
<nav>
<?php themify_theme_menu_nav(); ?>
<!-- /#main-nav -->
</nav>
</div>
<!-- /#main-nav-wrap -->
</div>
<!-- /.navwrap .slide-nav-->
<?php themify_header_end(); // hook ?>
</header>
<!-- /#header -->
<?php themify_header_after(); // hook ?>
</div>
<!-- /#headerwrap -->
<div id="body" class="clearfix">
<?php themify_layout_before(); //hook ?>