Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
business/header.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
87 lines (86 sloc)
3.01 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
</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'; | |
} elseif ($titlesplit == '12_12') { | |
$titlespan = '12'; | |
$navspan = '12'; | |
} | |
?> | |
<div id="page" class="hfeed site"> | |
<header id="masthead" class="site-header" role="banner"> | |
<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"> |