-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.php
53 lines (46 loc) · 2.14 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
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="maincontentcontainer">
*
* @package Ephemeris
* @since Ephemeris 1.0
*/
?><!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<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 itemscope="itemscope" itemtype="http://schema.org/CreativeWork" <?php body_class(); ?>>
<?php if ( function_exists( 'wp_body_open' ) ) {
// Add support for new wp_body_open Hook in WP 5.2+
wp_body_open();
} ?>
<main class="hfeed site" role="main">
<div class="visuallyhidden skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to main content', 'ephemeris' ); ?>"><?php esc_html_e( 'Skip to main content', 'ephemeris' ); ?></a></div>
<?php do_action( 'ephemeris_before_header' ); ?>
<?php if ( !ephemeris_has_pagebuilder_template( 'header' ) ) { ?>
<div class="top-header">
<div class="announcement-bar grid-container">
<?php do_action( 'ephemeris_announcement_bar_content' ); ?>
</div>
</div>
<div id="headercontainer">
<?php do_action( 'ephemeris_before_header_content' ); ?>
<header id="masthead" class="grid-container site-header" role="banner">
<?php do_action( 'ephemeris_header_content' ); ?>
</header> <!-- /#masthead.grid-container.site-header -->
<?php do_action( 'ephemeris_after_header_content' ); ?>
</div> <!-- /#headercontainer -->
<?php do_action( 'ephemeris_before_main_content' ); ?>
<?php } ?>