This repository has been archived by the owner. It is now read-only.
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?
neag/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.
86 lines (83 sloc)
3.05 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 get_template_directory().'/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 !IE]><!--><script> | |
if (/*@cc_on!@*/false) { | |
document.documentElement.className+=' ie10'; | |
} | |
</script><!--<![endif]--> | |
</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();}?> | |
<div id="page" class="hfeed site"> | |
<header id="masthead" class="site-header <?php if ($headerImg != ''){echo 'header-image';} ?>" role="banner"> | |
<div id="site-title" class="hidden-xs"> | |
<div class="container"> | |
<?php include get_template_directory().'/inc/header-img.php'; ?> | |
<div class="row"> | |
<div class="col-sm-7"> | |
<div class="site-branding" id="uc-site-header"> | |
<?php include get_template_directory().'/inc/site-title.php'; ?> | |
</div> | |
</div> | |
<div class="col-sm-5"> | |
<div class="row"> | |
<div class="col-sm-5"> | |
<?php ( is_active_sidebar('header') ? dynamic_sidebar('header'): '' ); ?> | |
</div> | |
<div class="col-sm-7"> | |
<?php get_search_form(); ?> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div id="nav-wrapper"> | |
<?php | |
// Check to see if max mega menu is active | |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); | |
$maxMegaMenuActive = is_plugin_active('megamenu/megamenu.php'); | |
if (!$maxMegaMenuActive){ | |
if ($navStyle == 'drop-multi'){ | |
include get_template_directory().'/inc/nav-drop-multi.php'; | |
} else if ($navStyle == 'tabs'){ | |
include get_template_directory().'/inc/nav-tabs.php'; | |
} else { | |
// std. Bootstrap dropdowns. | |
include get_template_directory().'/inc/nav.php'; | |
} | |
} else { | |
include get_template_directory().'/inc/nav-maxmegamenu.php'; | |
} | |
?> | |
</div> | |
</header> | |
<!-- #masthead --> | |
<div id="content" class="site-content"> | |
<div class="container"> |