Created
November 23, 2013 11:07
-
-
Save dompascal/7613323 to your computer and use it in GitHub Desktop.
WP - Header Template
This file contains hidden or 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 | |
/** | |
* The Header for our theme. | |
* | |
* Displays all of the <head> section and everything up till <div id="main"> | |
* | |
* @package WordPress | |
* @subpackage Boilerplate | |
* @since Boilerplate 1.0 | |
*/ | |
?><!DOCTYPE html> | |
<!--[if lt IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie6 lte7 lte8 lte9"><![endif]--> | |
<!--[if IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie7 lte7 lte8 lte9"><![endif]--> | |
<!--[if IE 8 ]><html <?php language_attributes(); ?> class="no-js ie ie8 lte8 lte9"><![endif]--> | |
<!--[if IE 9 ]><html <?php language_attributes(); ?> class="no-js ie ie9 lte9"><![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]--> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1.0, user-scalable=yes"> | |
<title><?php | |
/* | |
* Print the <title> tag based on what is being viewed. | |
* We filter the output of wp_title() a bit -- see | |
* boilerplate_filter_wp_title() in functions.php. | |
*/ | |
wp_title( '|', true, 'right' ); | |
?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11" /> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> | |
<!-- CSS --> | |
<link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/style.css" /> | |
<!-- <link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/js/vendor/fancybox/jquery.fancybox.css" /> --> | |
<link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/js/vendor/royalslider/royalslider.css" /> | |
<link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/js/vendor/royalslider/skins/default/rs-default.css"> | |
<link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/js/vendor/touchcarousel/touchcarousel.css" /> | |
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'template_url' ); ?>/js/vendor/touchcarousel/black-and-white-skin/black-and-white-skin.css" /> | |
<!--JQUERY PLUGINS --> | |
<script src="<?php bloginfo( 'template_url' ); ?>/js/vendor/jquery.min-1.8.3.js"></script> | |
<!--OTHER JS--> | |
<!-- <script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/vendor/fancybox/jquery.fancybox.pack.js"></script> --> | |
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/vendor/royalslider/jquery.royalslider.min.js"></script> | |
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/vendor/touchcarousel/jquery.touchcarousel-1.2.min.js"></script> | |
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/vendor/jquery.masonry.min.js"></script> | |
<script type="text/javascript" src="<?php bloginfo( 'template_url' ); ?>/js/vendor/jquery.imagesloaded.min.js"></script> | |
<!--[if lt IE 9]> | |
<script src="<?php bloginfo( 'template_url' ); ?>/js/vendor/html5shiv.js"></script> | |
<![endif]--> | |
<?php | |
/* 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(); | |
?> | |
<style type="text/css"> | |
html { | |
margin-top:0 !important; | |
} | |
</style> | |
</head> | |
<body <?php body_class(); ?>> | |
<!-- site wrapper --> | |
<section class="site-wrapper"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment