Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
109 lines (107 sloc) 3.77 KB
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
*/
include 'inc/vars.php';
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
<?php wp_title( '|', true, 'right' ); ?>
</title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
<!--[if lt IE 9]>
<script src="<?php echo get_stylesheet_directory_uri(); ?>/javascripts/html5shiv-master/src/html5shiv.js"></script>
<script src="<?php echo get_stylesheet_directory_uri(); ?>/javascripts/html5shiv-master/src/html5shiv-printshiv.js"></script>
<![endif]-->
<!--[if !IE]><!--><script>
if (/*@cc_on!@*/false) {
// document.documentElement.className+=' ie10';
}
</script><!--<![endif]-->
<script src="http://use.typekit.net/uzm8fts.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<script src="//fast.wistia.com/embed/medias/j38ihh83m5.jsonp" async></script>
<script src="//fast.wistia.com/assets/external/E-v1.js" async></script>
</head>
<body <?php body_class(); ?>>
<!--[if lt IE 7]> <div class="ie lte9 lte8 lte7 lte6"> <![endif]-->
<!--[if IE 7]> <div class="ie ie7 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 8]> <div class="ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]> <div class="ie ie9 lte9"> <![endif]-->
<nav id="skiplinks"> <a href="#site-navigation">Skip to Navigation</a> <a href="#uc-search">Skip to UConn Search</a> <a href="#content">Skip to Content</a> </nav>
<?php if(function_exists('uconn_banner_hook')){uconn_banner_hook();}?>
<?php
$titlespan = '';
$navspan = '';
$titlesplit = get_theme_mod('titlesplit');
if ($titlesplit == '2_10') {
$titlespan = '2';
$navspan = '10';
} elseif ($titlesplit == '3_9') {
$titlespan = '3';
$navspan = '9';
} elseif ($titlesplit == '4_8') {
$titlespan = '4';
$navspan = '8';
} elseif ($titlesplit == '5_7') {
$titlespan = '5';
$navspan = '7';
} elseif ($titlesplit == '6_6') {
$titlespan = '6';
$navspan = '6';
} else {
$titlespan = '12';
$navspan = '12';
}
?>
<div id="page" class="hfeed site">
<header id="masthead" class="site-header" role="banner">
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1820915951491852');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1"
src="https://www.facebook.com/tr?id=1820915951491852&ev=PageView
&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
<div id="site-title">
<div class="container">
<div class="row">
<div id="titlespan" class=" col-sm-<?php echo $titlespan; ?>">
<div class="site-branding" id="uc-site-header">
<?php include 'inc/site-title.php'; ?>
</div>
</div>
<?php if ($titlesplit == '12_12') {echo '</div><div class="row">';}?>
<div id="navspan" class="col-sm-<?php echo $navspan; ?>">
<?php wp_nav_menu(array('theme_location' => 'primary'));?>
</div>
</div>
</div>
</div>
</header>
<!-- #masthead -->
<div id="content" class="site-content">
<div class="container">
You can’t perform that action at this time.