This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
header.php
57 lines (47 loc) · 2.41 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
54
55
56
57
<?php
/**
* HRS Head Section Template
*
* @package HrswpTheme
* @since 2.0.0
*/
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js no-svg lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]><html class="no-js no-svg lt-ie9 <?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]><html class="no-js no-svg lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" prefix="og:http://ogp.me/ns#" <?php language_attributes(); ?>><!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<link rel="profile" href="https://gmpg.org/xfn/11">
<title><?php echo esc_html( spine_get_title() ); ?></title>
<link rel="icon" href="https://repo.wsu.edu/favicon/icon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="https://repo.wsu.edu/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://repo.wsu.edu/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://repo.wsu.edu/favicon/favicon-16x16.png">
<?php wp_head(); ?>
<noscript><style>#spine #spine-sitenav ul ul li { display: block !important; }</style></noscript>
</head>
<body <?php body_class(); ?>>
<?php
$binder = array(
spine_get_option( 'grid_style' ),
spine_get_option( 'large_format' ),
spine_get_option( 'broken_binding' ),
);
if ( true === ( spine_get_option( 'spineless' ) ) && is_front_page() ) {
$binder[] = 'spineless';
}
$binder_classes = implode( ' ', $binder );
?>
<a href="#wsuwp-main" class="screen-reader-shortcut"><?php esc_html_e( 'Skip to main content', 'hrswp-theme' ); ?></a>
<a href="#<?php echo esc_attr( apply_filters( 'wsu_spine_navigation_id', 'spine-sitenav' ) ); ?>" class="screen-reader-shortcut"><?php esc_html_e( 'Skip to navigation', 'hrswp-theme' ); ?></a>
<?php get_template_part( 'parts/before-jacket' ); ?>
<div id="jacket" class="style-<?php echo esc_attr( spine_get_option( 'theme_style' ) ); ?> colors-<?php echo esc_attr( spine_get_option( 'secondary_colors' ) ); ?> spacing-<?php echo esc_attr( spine_get_option( 'theme_spacing' ) ); ?>">
<?php get_template_part( 'parts/before-binder' ); ?>
<div id="binder" class="<?php echo esc_attr( $binder_classes ); ?>">
<?php
get_template_part( 'spine' );
get_template_part( 'build/templates/header' );