-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
49 lines (40 loc) · 2.42 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
<!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' ); ?>" />
<title><?php echo esc_html( spine_get_title() ); ?></title>
<!-- FAVICON -->
<link rel="shortcut icon" href="https://repo.wsu.edu/spine/1/favicon.ico" />
<!-- RESPOND -->
<meta name="viewport" content="width=device-width, user-scalable=yes">
<!-- DOCS -->
<link type="text/plain" rel="author" href="https://repo.wsu.edu/spine/1/authors.txt" />
<link type="text/html" rel="help" href="https://brand.wsu.edu/media/web" />
<!-- SCRIPTS and STYLES -->
<!-- Custom scripts and styles should be added with wp_enqueue_script() and wp_enqueue_style() -->
<?php wp_head(); ?>
<!-- COMPATIBILITY -->
<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<noscript><style>#spine #spine-sitenav ul ul li { display: block !important; }</style></noscript>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open();?>
<?php
if ( ( spine_get_option( 'spineless' ) == 'true' ) && is_front_page() ) {
$spineless = ' spineless';
} else {
$spineless = '';
}
?>
<a href="#wsuwp-main" class="screen-reader-shortcut"><?php _e( 'Skip to main content' ); ?></a>
<a href="#<?php echo esc_attr( apply_filters( 'wsu_spine_navigation_id', 'spine-sitenav' ) ); ?>" class="screen-reader-shortcut"><?php _e( 'Skip to navigation' ); ?></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( spine_get_option( 'grid_style' ) ); echo $spineless; echo esc_attr( spine_get_option( 'large_format' ) ); echo esc_attr( spine_get_option( 'broken_binding' ) ); ?>">
<?php get_template_part( 'spine' ); ?>
<?php get_template_part( 'parts/before-main' );