Skip to content

Instantly share code, notes, and snippets.

@newswim
Created July 9, 2015 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newswim/5b6718759cedaf8afedb to your computer and use it in GitHub Desktop.
Save newswim/5b6718759cedaf8afedb to your computer and use it in GitHub Desktop.
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<?php
if ( is_home() ) { ?>
<meta name="audience" content="North Texas, Oklahoma, Dallas, Fort Worth, Denton, Arlington, Grand Prairie, Oak Cliff, Duncanville, Lancaster, Red Oak, Mesquite, Garland, Plano, Richardson, Lewisville, Allen, McKinney, Frisco, Carrollton, Sherman, Denison, North Richland Hills, Keller, Hurst, Euless, Bedford, Grapevine, Colleyville, Gainesville, Durant, Tishomingo, Ardmore, Madill">
<meta name="msvalidate.01" content="0A2111682EEEF73FCCAE1DFCF35B49D6" />
<?php } else { ?>
<?php } ?>
<link rel="shortcut icon" href="/wp-content/uploads/2013/07/favicon.ico">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
/* We add some JavaScript to pages with the comment form
* to support sites with threaded comments (when in use).
*/
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
/* Always have wp_head() just before the closing </head>
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to <head> such
* as styles, scripts, and meta tags.
*/
wp_head();
?>
<!--
<script src="/wp-content/themes/cactus/responsiveslides.min.js"></script>
<script src="/wp-content/themes/cactus/imagesloaded.pkgd.min.js"></script>
<script src="/wp-content/themes/cactus/imageloader.js"></script>
<script>imageloader(".imageloader", "#DBDBDB");</script>
<script src="http://cdn.square205.com/global/js/jquery-ui-1.10.3.min.js"></script>
<script type="text/javascript" src="/wp-content/themes/cactus/jquery.beforeafter-1.4.min.js"></script>
-->
<link rel='stylesheet' href='/wp-content/themes/cactus/imageloader.css' type='text/css' media='all' />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body <?php body_class(); ?>>
<section id="header">
<div id="contact-header">
<div class="container">
<span class="col-md-2"></span>
<span class="col-md-2">24 Hour<br /> Response</span>
<span class="triangle-right col-md-2"></span>
<a id="header-number" href="tel:1-214-252-5000" onclick="_gaq.push(['_trackEvent', 'ClickedEvent', 'Click', 'clickPhoneNumber']);">1-214-252-5000</a>
<a id="header-number-tollfree" href="tel:1-800-536-0227" onclick="_gaq.push(['_trackEvent', 'ClickedEvent', 'Click', 'clickPhoneNumber']);">1-800-536-0227</a>
<ul id="top-nav" >
<li class="pull-right"><a href="/contact">Contact</a></li>
<li class=" pull-right"><a href="/blog">News</a></li>
<li class=" pull-right"><a href="/cactus-employment-opportunities/">Employment</a></li>
</ul>
<div class="col-md-3 search" style="display:none;">
<?php get_search_form(); ?>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div id="logo-wrap" class="col-md-2 pull-left">
<a href="/"><img src="/wp-content/uploads/2014/12/plain-logo-1-1-copy.jpg"></a>
</div>
<nav id="navbar" class="col-md-10 pull-right">
<?php wp_nav_menu( array( 'container' => '', 'container_class' => false )); ?>
</nav>
</div>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment