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?
ovpr/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.
196 lines (175 sloc)
5.57 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 | |
/** | |
* @package WordPress | |
* @subpackage Default_Theme | |
*/ | |
$secondary = get_option( 'secondarytitle',''); | |
$secondarylink = get_option( 'secondarylink',''); | |
//$nav1 = get_theme_mod( 'navoption1','textnav'); | |
//$nav2 = get_theme_mod( 'navoption2','with-drop'); | |
?> | |
<!doctype html> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<!-- UCONN Template v5.0 July 2013 by UITS Web Lab. Help: http://webtools.uconn.edu or contact webdev@uconn.edu --> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<!--[if lt IE 9]> | |
<script src="js/html5shiv.js"></script> | |
<![endif]--> | |
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" /> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title> | |
<?php the_title(); ?> | |
› | |
<?php bloginfo('name'); ?> | |
› UCONN</title> | |
<?php wp_head();?> | |
<!--<link href="<?php bloginfo('template_url'); ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet"> | |
<link href="<?php bloginfo('template_url'); ?>/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"> | |
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet"> | |
<link href="<?php bloginfo('template_url'); ?>/uc-print.css" rel="stylesheet" media="print"> | |
--> | |
<style type="text/css"> | |
<?php $accent = get_theme_mod('border_color');?> | |
.nav.stack-bottom, | |
.ovpr-home #menu-top-nav { | |
border-bottom-color:<?php echo $accent;?>; | |
} | |
#menu-top-nav .current-menu-ancestor a .caret { | |
background-color:<?php echo $accent;?>; | |
} | |
</style> | |
</head> | |
<!--[if lt IE 7]> <body class="ie lte9 lte8 lte7 lte6"> <![endif]--> | |
<!--[if IE 7]> <body class="ie ie7 lte9 lte8 lte7"> <![endif]--> | |
<!--[if IE 8]> <body class="ie ie8 lte9 lte8"> <![endif]--> | |
<!--[if IE 9]> <body class="ie ie9 lte9"> <![endif]--> | |
<!--[if gt IE 9]><!--> | |
<body class="with-stack-nav"> | |
<!--<![endif]--> | |
<?php if(function_exists('uconn_banner_hook')){uconn_banner_hook();}?> | |
<div id="uc-titlebar" class="uc-titlebar-gradient gradient clearfix"> | |
<div class="container"> | |
<div class="ovpr-head row"> | |
<div id="uc-site-header" class="span6"> | |
<?php | |
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){ | |
if(substr($secondarylink,0,4) != 'http'){ | |
$secondarylink = 'http://'.$secondarylink; | |
} | |
echo '<p id="uc-site-parent" class="clearfix"><a href="'.$secondarylink.'">'.$secondary.'</a></p>'; | |
} | |
?> | |
<h1 id="uc-site-title" class="clearfix"><a href="<?php echo home_url(); ?>"> | |
<?php bloginfo('name'); ?> | |
</a> </h1> | |
</div> | |
<div class="hidden-phone slogan span3"></div> | |
<div class="visible-desktop span3"> | |
<?php get_search_form(); ?> | |
</div> | |
</div> | |
<div class="row"> | |
<nav id="uc-navbar" class="navbar"> | |
<div class="navbar-inner"> <a class="btn btn-navbar clearfix" id="uc-nav-mobile" data-toggle="collapse" data-target=".nav-collapse"> <span class="menu-icon"><span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></span> <span class="menu-label">Menu</span></a> | |
<div class="nav-collapse collapse"> | |
<ul id="menu-top-nav" class="nav stack-top with-left"> | |
<li><a href="<?php echo home_url(); ?>">Home</a></li> | |
<?php | |
wp_nav_menu( | |
array( | |
'menu' => 'top1', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top2', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top3', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top4', | |
'container' => false, | |
'fallback_cb' => '', | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top5', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top6', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top7', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top8', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
wp_nav_menu( | |
array( | |
'menu' => 'top9', | |
'container' => false, | |
'fallback_cb' => false, | |
'items_wrap' => '%3$s', | |
'walker' => new Bootstrap_Nav_Walker() | |
) | |
); | |
?> | |
<li class="hidden-desktop mobile-search"> | |
<?php get_search_form(); ?> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</nav> | |
</div> | |
</div> | |
</div> | |
<div id="uc-main" class="container"> | |
<div class="row"> | |
<div class="span12"> |