-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathheader.php
More file actions
77 lines (61 loc) · 2.86 KB
/
Copy pathheader.php
File metadata and controls
77 lines (61 loc) · 2.86 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
* Header that is used across the site
*
* @package isc-uw-child
* @author UW-IT AXDD
*/
?>
<!DOCTYPE html>
<!-- Add en lang tag -->
<html class="no-js" lang="en">
<head>
<!-- New Google Tag Manager 20250729 -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-PGMJ6BGL');</script>
<!-- End Google Tag Manager -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title> <?php
$prefix = get_the_title();
if('post' == get_post_type()){
$prefix = get_post_type_object(get_post_type())->labels->name;
}
else if ('workday_course' == get_post_type()){
$prefix = get_the_archive_title();
}
echo $prefix . " | "; bloginfo( 'name' );
?> </title>
<meta charset="utf-8">
<meta name="description" content="<?php bloginfo( 'description', 'display' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="vQxLCtJqEqcWtnoJ6kpuxDN52HbONpgCTKpE6UWwv8U" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<?php wp_head(); ?>
<!--[if lt IE 9]>
<script src="<?php bloginfo( 'template_directory' ); ?>/assets/ie/js/html5shiv.js" type="text/javascript"></script>
<script src="<?php bloginfo( 'template_directory' ); ?>/assets/ie/js/respond.js" type="text/javascript"></script>
<link rel='stylesheet' href='<?php bloginfo( 'template_directory' ); ?>/assets/ie/css/ie.css' type='text/css' media='all' />
<![endif]-->
<?php
get_post_meta( get_the_ID(), 'javascript', 'true' );
get_post_meta( get_the_ID(), 'css', 'true' );
?>
<script type="text/javascript">
var ISC_URL = "<?php echo esc_url( get_site_url() ); ?>";
</script>
</head>
<!--[if lt IE 9]> <body <?php body_class( 'lt-ie9' ); ?>> <![endif]-->
<!--[if gt IE 8]><!-->
<body <?php body_class(); ?> >
<!--<![endif]-->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PGMJ6BGL" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- <div id="uwsearcharea" tabindex="-1" aria-hidden="true" class="uw-search-bar-container"></div> -->
<div id="uwsearcharea" class="uw-search-bar-container"></div>
<a id="main-content" href="#main_content" class='screen-reader-shortcut'>Skip to main content</a>
<div id="uw-container">
<div id="uw-container-inner">
<?php get_template_part( 'thinstrip' ); ?>
<?php require get_template_directory() . '/inc/template-functions.php';
uw_dropdowns(); ?>
<?php include 'common-code.php'; ?>