This repository has been archived by the owner. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update 9/6/16
- Full width metaslider - Additional row on home page - Sidebar on single posts page - Styling changes
- Loading branch information
Showing
7 changed files
with
1,398 additions
and
915 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1,133 @@ | ||
<?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(); ?> | ||
› | ||
<?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"> | ||
|
||
|
||
|
||
|
||
</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"> | ||
<?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(); ?> | ||
› | ||
<?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"> | ||
|
||
|
||
|
||
|
||
</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"> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
jQuery(document).ready(function($){ | ||
|
||
$( ".nivo-caption" ).wrap( $('<div class="caption-wrapper"></div>') ); | ||
|
||
}); |
Oops, something went wrong.