Created
March 3, 2014 13:26
-
-
Save kopepasah/9324882 to your computer and use it in GitHub Desktop.
Template code and information for Expatriate documentation.
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
<?php | |
/** | |
* The Header for Expatriate. | |
* | |
* Displays all of the <head> section and | |
* everything up till <div id="content"> | |
* | |
* @package expatriate | |
* @author kopepasah | |
* @since 1.0.0 | |
*/ | |
?><!DOCTYPE html> | |
<html <?php language_attributes(); ?>> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title><?php wp_title( '|', true, 'right' ); ?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11"> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
<?php wp_head(); ?> | |
</head> | |
<body <?php body_class(); ?>> | |
<div id="wrap" class="hfeed site"> | |
<section class="section-container section-header"> | |
<header id="header" class="column-wrapper" role="banner"> | |
<div class="site-branding column col-2-12"> | |
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> | |
</div> | |
<nav class="site-navigation column col-10-12" role="navigation"> | |
<?php wp_nav_menu( array( 'theme_location' => 'header', 'fallback_cb' => null ) ); ?> | |
</nav> | |
</header> | |
</section> | |
<section class="section-container section-content clearfix"> | |
<div id="content"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment