Skip to content

Instantly share code, notes, and snippets.

/header.php
Created Jan 19, 2016

Embed
What would you like to do?
Header.PHP James F. Reilly Photography.com
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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(); ?> <?php hybrid_attr( 'body' ); ?>>
<div id="page" class="hfeed site">
<div class="search-area">
<div class="wide-container">
<?php get_search_form(); // Loads the searchform.php template. ?>
</div>
</div>
<header id="masthead" class="site-header" <?php hybrid_attr( 'header' ); ?>>
<?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
<div class="site-branding">
<div class="wide-container">
<?php silvia_site_branding(); ?>
</div>
</div>
</header><!-- #masthead -->
<div id="content" class="site-content">
<div class="<?php echo esc_attr( silvia_main_container() ); ?>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.