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?
generic-oop-engr-theme/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.
171 lines (171 sloc)
6.15 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
<!DOCTYPE html> | |
<!--[if IE 6]> | |
<html id="ie6" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if IE 7]> | |
<html id="ie7" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if IE 8]> | |
<html id="ie8" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if IE 9]> | |
<html id="ie9" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if IE 10]> | |
<html id="ie10" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if IE 11]> | |
<html id="ie11" <?php language_attributes(); ?>> | |
<![endif]--> | |
<!--[if !(IE 6) | !(IE 7) | !(IE 8) | !(IE 9) | !(IE 10) | !(IE 11)]><!--> | |
<html <?php language_attributes(); ?>> | |
<!--<![endif]--> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> | |
<meta name = "robots" content = "all, index, follow" /> | |
<meta http-equiv = "CACHE-CONTROL" content = "CACHE" /> | |
<meta http-equiv = "PRAGMA" content = "CACHE" /> | |
<title><?php bloginfo('name') . wp_title(' | '); ?></title> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
<?php wp_head(); ?> | |
</head> | |
<?php if(is_front_page()){ ?> | |
<body id = "frontpage" <?php body_class(); ?>> | |
<?php }else{ ?> | |
<body id = "secondarypage" <?php body_class(); ?>> | |
<?php } ?> | |
<div id = "wrapper" class = "long-row"> | |
<div class = "long-row" id = "above-header"> | |
<?php if(is_active_sidebar('above-brand-bar')): ?> | |
<?php dynamic_sidebar('above-brand-bar'); ?> | |
<?php endif; ?> | |
</div> | |
<!-- header with brand standard --> | |
<div class = "long-row" id = "header-bar"><!-- brand bar --> | |
<div class = "row" id = "header-box"> | |
<div class = "large-6 columns left"><!-- brand box: uconn | university of connecticut --> | |
<ul id = "bannertop"> | |
<li> | |
<div id = "uc-sig"> | |
<span id = "uconn-signature"><a href = "http://www.uconn.edu/">UCONN</a></span> | |
</div> | |
</li> | |
<li> | |
<div id = "uc-sep"> | |
<span id = "separator">|</span> | |
</div> | |
</li> | |
<li> | |
<div id = "uc-fn"> | |
<span id = "uconn-fullname"><a href = "http://www.engr.uconn.edu/">School of Engineering</a></span> | |
</div> | |
</li> | |
</ul> | |
</div> | |
<div class = "large-6 columns right" id = "search-index-box"><!-- search/index box --> | |
<ul id = "iconsbox"> | |
<li> | |
<div> | |
<a href = "http://www.uconn.edu/search/"><img src = "https://www.engr.uconn.edu/wp-content/themes/engineering/images/m-icons_0000_search-white.png" alt = "image icon" /></a> | |
</div> | |
</li> | |
<li> | |
<div> | |
<a href = "http://www.uconn.edu/az">A-Z</a> | |
</div> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<!-- site title area with brand standard --> | |
<div class = "long-row" id = "title-bar"> | |
<div class = "row" id = "title-box"> | |
<?php if(is_active_sidebar("righttitlearea")): ?> | |
<div class = "large-8 left"><!-- site title and partnership --> | |
<?php else: ?> | |
<div class = "large-12 left"><!-- site title and partnership --> | |
<?php endif; ?> | |
<h2> | |
<span id = "site-name"> | |
<a href = "<?php bloginfo("url"); ?>"><?php bloginfo("name"); ?></a> | |
</span> | |
</h2> | |
</div> | |
<?php if(is_active_sidebar("righttitlearea")):?> | |
<div class = "large-4 right"><!-- site logo --> | |
<?php dynamic_sidebar("righttitlearea"); ?> | |
</div> | |
<?php endif; ?> | |
</div> | |
</div> | |
<!-- main menu area --> | |
<div class = "long-row" id = "top-menu-bar"> | |
<div class = "row"> | |
<div class = "large-12"> | |
<?php if(is_active_sidebar('menu-bar-area')): ?> | |
<?php dynamic_sidebar('menu-bar-area'); ?> | |
<?php else: ?> | |
<nav class="top-bar" data-topbar role="navigation"> | |
<ul class="title-area"> | |
<li class="name"></li> | |
<li class="toggle-topbar menu-icon right"><a href="#"><span>Menu</span></a></li> | |
</ul> | |
<section class="top-bar-section"> | |
<?php if(has_nav_menu('mainmenu')): ?> | |
<?php wp_nav_menu(array('theme_location' => 'mainmenu', 'menu_id' => 'mainmenu', 'container' => 'false', 'walker' => new Top_Bar_Walker())); ?> | |
<?php else: ?> | |
<ul> | |
<li><a href="http://www.engr.uconn.edu">School of Engineering</a></li> | |
<li><a href="http://www.uconn.edu/az/">University A-Z Index</a></li> | |
<li><a href="http://today.uconn.edu/">UConn Today</a></li> | |
<li><a href="http://news.engr.uconn.edu/">Engineering News</a></li> | |
</ul> | |
<?php endif; ?> | |
</section> | |
</nav> | |
</div> | |
</div> | |
</div> | |
<?php endif; ?> | |
<?php if(is_active_sidebar('bannerarea') && is_front_page()): ?> | |
<?php dynamic_sidebar('bannerarea'); ?> | |
<?php else: ?> | |
<?php if(is_active_sidebar('secondary-page-bannerarea')): ?> | |
<?php dynamic_sidebar('secondary-page-bannerarea'); ?> | |
<?php endif; ?> | |
<?php endif; ?> | |
<!-- content area --> | |
<div class = "long-row" id = "body-box"> | |
<?php if(is_single() || is_archive()) { ?> | |
<?php if(is_active_sidebar('about-section-bannerarea')){ ?> | |
<div id = "page-banner-bar" class = "long-row"> | |
<div class = "row"> | |
<div class = "large-12 custom-column"> | |
<?php dynamic_sidebar('about-section-bannerarea'); ?> | |
</div> | |
</div> | |
</div> | |
<div id = "page-title-bar" class = "long-row"> | |
<div class = "row"> | |
<div class = "large-12 column"> | |
<h2><?php // print is_tax(); ?> | |
<?php if(is_post_type_archive('post')): ?> | |
Archives | |
<?php elseif(is_tax()): ?> | |
Keyword: <?php print single_cat_title( '', false ) ?> | |
<?php else: ?> | |
<?php the_title(); ?> | |
<?php endif; ?> | |
</h2> | |
</div> | |
</div> | |
</div> | |
<?php } ?> | |
<div class = "row" id = "contentsection"> | |
<div class = "large-12 column" id = "content-box"> | |
<?php if(!is_front_page()): ?> | |
<?php // custom_breadcrumbs() ?> | |
<?php endif; ?> | |
<?php } ?> |