-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
76 lines (64 loc) · 2.23 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
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package kurama
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'kurama' ); ?></a>
<div id="jumbosearch">
<span class="fa fa-remove closeicon"></span>
<div class="form">
<?php get_search_form(); ?>
</div>
</div>
<div class="head-full">
<div id='top-bar-wrapper'>
<div id="top-bar">
<div id="search-form" class="col-md-3 col-sm-12">
<?php get_search_form(); ?>
</div>
<div id="top-menu" class="col-md-9 col-sm-12 title-font">
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</div>
</div>
</div>
<div id="head" class="container-fluid">
<header id="masthead" class="site-header col-md-3 col-sm-5 col-xs-12" role="banner">
<div class="site-branding">
<?php if ( kurama_has_logo() ) : ?>
<div id="site-logo">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php kurama_logo(); ?></a>
</div>
<?php endif; ?>
<div id="text-title-desc">
<h1 class="site-title title-font"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</div>
</div>
<div id="social-icons">
<?php get_template_part('social', 'fa'); ?>
</div>
</header><!-- #masthead -->
<div id="header-image" class="col-md-9 col-sm-7 col-xs-12">
<?php if ( is_single() && has_post_thumbnail() && (get_theme_mod('kurama_featimg','replace') == 'replace' ) ) : ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php endif; ?>
</div>
</div>
</div>
<?php get_template_part('featured', 'area1'); ?>
<div class="mega-container">
<div id="content" class="site-content container">