Skip to content

Instantly share code, notes, and snippets.

@kopepasah
Created March 3, 2014 13:26
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 kopepasah/9324882 to your computer and use it in GitHub Desktop.
Save kopepasah/9324882 to your computer and use it in GitHub Desktop.
Template code and information for Expatriate documentation.
<?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