-
Notifications
You must be signed in to change notification settings - Fork 14
/
header.php
executable file
·48 lines (36 loc) · 1.28 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
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @since vantage 1.0
*
* @license GPL 2.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<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(); ?>>
<?php if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
} ?>
<?php do_action( 'vantage_before_page_wrapper' ); ?>
<div id="page-wrapper">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'vantage' ); ?></a>
<?php do_action( 'vantage_before_masthead' ); ?>
<?php if ( ! siteorigin_page_setting( 'hide_masthead', false ) ) { ?>
<?php get_template_part( 'parts/masthead', apply_filters( 'vantage_masthead_type', siteorigin_setting( 'layout_masthead' ) ) ); ?>
<?php } ?>
<?php do_action( 'vantage_after_masthead' ); ?>
<?php vantage_render_slider(); ?>
<?php do_action( 'vantage_before_main_container' ); ?>
<div id="main" class="site-main">
<div class="full-container">
<?php do_action( 'vantage_main_top' ); ?>