-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·45 lines (42 loc) · 1.44 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
<?php
/**
* The template for displaying the header
*
* Displays all of the head element and everything up until the "site-content" div.
*
* @package PageSpeed
* @since 1.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
</head>
<body <?php body_class(); ?>>
<?php do_action( 'pagespeed_after_body' ); ?>
<div id="wrapper" class="cf"> <!-- closed in footer -->
<?php do_action( 'pagespeed_before_header' ); ?>
<div id="site-header-container"
class="cf logo-<?php echo sanitize_html_class( get_theme_mod( 'logo_position', 'left' ) ); ?>">
<div class="hybrid cf">
<div class="inner">
<?php do_action( 'pagespeed_header_start' ); ?>
<?php do_action( 'pagespeed_header_end' ); ?>
</div>
</div>
</div><!--#site-header-container -->
<?php do_action( 'pagespeed_after_header' ); ?>
<div id="content-wrapper">
<div id="content" class="<?php echo apply_filters( 'content_div_class', 'cf hybrid' ); ?>">
<?php do_action( 'pagespeed_content_start' ); ?>
<!-- Closed in sidebar -->
<div id="left">
<main id="main" role="main">
<div class="inner">
<?php do_action( 'pagespeed_main_start' ); ?>