-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
123 lines (113 loc) · 3.54 KB
/
header.php
File metadata and controls
123 lines (113 loc) · 3.54 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
/**
* Site header template.
*
* @package Responsive_Framework
*/
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html <?php responsive_html_class( 'no-js ie lt-ie9 lt-ie8 lt-ie7' ); ?> lang="en"> <![endif]-->
<!--[if IE 7]> <html <?php responsive_html_class( 'no-js ie lt-ie9 lt-ie8' ); ?> lang="en"> <![endif]-->
<!--[if IE 8]> <html <?php responsive_html_class( 'no-js ie lt-ie9' ); ?> lang="en"> <![endif]-->
<!--[if IE 9]> <html <?php responsive_html_class( 'no-js ie ie9' ); ?> lang="en"> <![endif]-->
<!--[if gt IE 9]><!--><html <?php responsive_html_class( 'no-js' ); ?> lang="en"><!--<![endif]-->
<head>
<title><?php responsive_get_title(); ?></title>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="ClearType" content="true" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<?php if ( function_exists( 'bu_meta' ) ) : ?>
<?php bu_meta(); ?>
<?php else : ?>
<meta name="description" content="<?php esc_attr_e( 'Boston University is a leading private research institution with two primary campuses in the heart of Boston and programs around the world.', 'responsive-framework' ); ?>" />
<?php endif; ?>
<?php if ( responsive_is_bu_domain() ) : ?>
<meta name="copyright" content="© <?php echo esc_attr( date( 'Y' ) ); ?> Boston University" />
<?php else : ?>
<link rel="shortcut icon" href="<?php bloginfo( 'template_directory' ); ?>/icons/favicon-g.ico" />
<?php endif; ?>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="apple-touch-icon" href="<?php bloginfo( 'template_directory' ); ?>/icons/apple-touch-icon-precomposed.png"/>
<?php wp_head(); ?>
</head>
<body id="top" <?php body_class(); ?>>
<?php
/**
* Fires immediately after the opening body tag.
*
* @since 2.0.0
*/
do_action( 'r_after_opening_body_tag' );
?>
<?php
/**
* Fires immediately before the masthead.
*
* @since 2.0.0
*/
do_action( 'r_before_masthead' );
?>
<header class="masthead" role="banner">
<div class="masthead-container">
<a class="skip-link" href="#main">Skip to Main Content</a>
<?php get_template_part( 'template-parts/masthead', responsive_layout() ); ?>
</div>
</header>
<?php
/**
* Fires immediately after the masthead.
*
* @since 2.0.0
*/
do_action( 'r_after_masthead' );
?>
<?php
/**
* Fires immediately before the opening wrapper div.
*
* @since 2.0.0
*/
do_action( 'r_before_opening_wrapper' );
?>
<div class="wrapper">
<?php
/**
* Fires immediately after the opening wrapper div.
*
* @since 2.0.0
*/
do_action( 'r_after_opening_wrapper' );
/**
* Fires immediately before the outer opening content container.
*
* @since 2.0.0
*/
do_action( 'r_before_opening_container_outer' );
?>
<main id="main" role="main" <?php r_container_outer_class(); ?>>
<?php
/**
* Fires immediately after the outer opening content container.
*
* @since 2.0.0
*/
do_action( 'r_after_opening_container_outer' );
?>
<?php
/**
* Fires immediately before the inner opening content container.
*
* @since 2.0.0
*/
do_action( 'r_before_opening_container_inner' );
?>
<div <?php r_container_inner_class(); ?>>
<?php
/**
* Fires immediately after the inner opening content container.
*
* @since 2.0.0
*/
do_action( 'r_after_opening_container_inner' );