Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
133 lines (116 sloc) 4.48 KB
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
$secondary = get_option( 'secondarytitle','');
$secondarylink = get_option( 'secondarylink','');
$nav1 = get_theme_mod( 'navoption1','');
$nav2 = get_theme_mod( 'navoption2','');
?>
<!doctype html>
<!-- UCONN Template v5.0 July 2013 by UITS Web Lab. Help: http://webtools.uconn.edu or contact webdev@uconn.edu -->
<!--[if lt IE 7]> <html class="ie lte9 lte8 lte7 lte6"> <![endif]-->
<!--[if IE 7]> <html class="ie ie7 lte9 lte8 lte7"> <![endif]-->
<!--[if IE 8]> <html class="ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]> <html class="ie ie9 lte9"> <![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->
<head>
<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(); ?>
&#8250;
<?php bloginfo('name'); ?>
&#8250; 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">
</head>
<body>
<?php if(function_exists('uconn_banner_hook')){uconn_banner_hook();}?>
<div id="uc-titlebar" class="uc-titlebar-gradient gradient clearfix">
<div class="container">
<div id="uc-site-header">
<?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>';
}
?>
<div class="title-and-search clear">
<h1 id="uc-site-title" class="clearfix">
<a href="<?php echo home_url(); ?>">
<?php bloginfo('name'); ?>
</a>
</h1>
<div class="search-header">
<?php get_search_form(); ?>
</div>
</div>
<div class="clear"></div>
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">MENU</a>
</div>
<?php /*<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">
<?php
wp_nav_menu(
array(
'menu' => 'primary', /* menu name
'menu_class' => 'nav',
'theme_location' => 'primary', /* where in the theme it's assigned
'container' => false, /* container class
'fallback_cb' => 'hale_main_nav_fallback',
'items_wrap' => '<ul id="%1$s" class="%2$s"><li><a href="'.home_url().'">Home</a></li>%3$s</ul>',
'walker' => new Bootstrap_Nav_Walker()/*,
'with_search' => true
)
);
?>
</div>
</div>
</nav>*/?>
<nav id="uc-navbar" class="navbar">
<div class="navbar-inner clear">
<div class="nav-collapse collapse">
<?php
// Andrew
// Andrew
// Andrew
//
//This is the class list for different types of nav:
//
//stack-top-dropdown - two level tabs with drop down
//stack-top-left - tow level tabs with left (no dropdown!)
//
wp_nav_menu(
array(
'menu' => 'primary', /* menu name */
'menu_class' => 'nav '.$nav1.' '.$nav2,
'theme_location' => 'primary', /* where in the theme it's assigned */
'container' => false, /* container class */
'fallback_cb' => 'hale_main_nav_fallback',
'items_wrap' => '<ul id="%1$s" class="%2$s"><li><a href="'.home_url().'">Home</a></li>%3$s</ul>',
'walker' => new Bootstrap_Nav_Walker()/*,
'with_search' => true*/
)
);
?>
</div>
</div>
</nav>
</div>
</div>
<div id="top-gradient"></div>
<div id="uc-main" class="container">
You can’t perform that action at this time.