-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-support.php
40 lines (33 loc) · 1.27 KB
/
header-support.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
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package MinnPost Largo
*/
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head <?php do_action( 'add_head_attributes' ); ?>>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<header id="masthead" class="o-header o-header-support">
<div class="o-wrapper o-wrapper-site-header<?php echo ( false !== get_query_var( 'grid', false ) ) ? ' o-wrapper-grid-overlay' : ''; ?>">
<?php get_template_part( 'template-parts/logo', 'top' ); ?>
<?php do_action( 'minnpost_membership_site_header', false ); ?>
</div>
</header><!-- #masthead -->
<?php
$full_class = '';
if ( is_singular() ) {
$full_class = ' o-wrapper-content-full';
}
?>
<?php do_action( 'wp_message_inserter', 'header' ); ?>
<div id="content" class="o-wrapper o-wrapper-content<?php echo $full_class; ?><?php echo ( false !== get_query_var( 'grid', false ) ) ? ' o-wrapper-grid-overlay' : ''; ?>">