-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
89 lines (61 loc) · 2.47 KB
/
Copy pathheader.php
File metadata and controls
89 lines (61 loc) · 2.47 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
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
<?php
/**
* Header Template
*
* The header template is generally used on every page of your site. Nearly all other templates call it
* somewhere near the top of the file. It is used mostly as an opening wrapper, which is closed with the
* footer.php file. It also executes key functions needed by the theme, child themes, and plugins.
*
* @package Oxygen
* @subpackage Template
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Mobile viewport optimized -->
<meta name="viewport" content="width=device-width,initial-scale=1">
<?php if ( hybrid_get_setting( 'oxygen_favicon_url' ) ) { ?>
<!-- Favicon -->
<link rel="shortcut icon" href="<?php echo hybrid_get_setting( 'oxygen_favicon_url' ); ?>" />
<?php } ?>
<!-- Title -->
<?php
if ( ! function_exists( '_wp_render_title_tag' ) ) {
function theme_slug_render_title() {
?>
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php
}
add_action( 'wp_head', 'theme_slug_render_title' );
}
?>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!-- WP Head -->
<?php wp_head(); ?>
</head>
<body class="<?php hybrid_body_class(); ?> no-js">
<?php do_atomic( 'open_body' ); // oxygen_open_body ?>
<?php do_atomic( 'before_header' ); // oxygen_before_header ?>
<header id="header">
<div class="container">
<div class="row">
<?php do_atomic( 'open_header' ); // oxygen_open_header ?>
<div class="col-lg-4 col-md-4 col-sm-10 col-xs-12 col-lg-offset-0 col-md-offset-0 col-sm-offset-1 col-xs-offset-0">
<div id="branding">
<?php oxygen_site_title(); ?>
</div><!-- #branding -->
</div>
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
<?php do_atomic( 'header' ); // oxygen_header ?>
<?php do_atomic( 'close_header' ); // oxygen_close_header ?>
</div>
</div>
</header><!-- #header -->
<?php do_atomic( 'after_header' ); // oxygen_after_header ?>
<?php do_atomic( 'before_main' ); // oxygen_before_main ?>
<section id="main">
<?php do_atomic( 'open_main' ); // oxygen_open_main ?>