forked from smartcatdev/avenue
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
64 lines (60 loc) · 3.1 KB
/
header.php
File metadata and controls
64 lines (60 loc) · 3.1 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
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package avenue
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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 wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<header id="masthead" class="site-header" role="banner">
<?php sc_toolbar(); ?>
<div class="site-branding">
<div class="row">
<div class="col-md-12">
<div class="col-xs-6">
<h1 class="site-title">
<a href="<?php echo esc_url(home_url('/')); ?>" rel="home">
<?php if (of_get_option('sc_logo_image') != '') { ?>
<img src="<?php echo of_get_option('sc_logo_image'); ?>" alt=""/>
<?php }else{
bloginfo('name');
}
?>
</a>
</h1>
<h2 class="site-description"><?php bloginfo('description'); ?></h2>
</div>
<div class="col-xs-6 search-bar">
<form role="search" method="get" class="search-form" action="<?php echo home_url('/'); ?>">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search …" value="" name="s" title="Search for:" />
</label>
<!--<input type="submit" class="search-submit" value="Search" />-->
</form>
</div>
</div>
</div>
</div>
<nav id="site-navigation" class="main-navigation" role="navigation">
<div class="row">
<div class="col-md-12">
<button class="menu-toggle"><?php _e('Primary Menu', 'avenue'); ?></button>
<a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'avenue'); ?></a>
<?php wp_nav_menu(array('theme_location' => 'primary')); ?>
</div>
</div>
</nav><!-- #site-navigation -->
</header><!-- #masthead -->