added top level menu item with styling
This commit is contained in:
14
header.php
14
header.php
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Displays all of the <head> section and everything up till <div id="content">
|
||||
*/
|
||||
|
||||
|
||||
?><!DOCTYPE html>
|
||||
<!--[if IE ]> <html <?php language_attributes(); ?> class="ie"> <![endif]-->
|
||||
<!--[if !(IE)]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
|
||||
@ -14,7 +14,6 @@
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
WebFontConfig = {
|
||||
custom: { families: ['OFLSortsMillGoudyRegular', 'OFLSortsMillGoudyItalic'],
|
||||
@ -31,7 +30,7 @@
|
||||
s.parentNode.insertBefore(wf, s);
|
||||
})();
|
||||
</script>
|
||||
<noscript><link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/noscript.css" /></noscript>
|
||||
<noscript><link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/noscript.css" /></noscript>
|
||||
<title><?php
|
||||
/*
|
||||
* Print the <title> tag based on what is being viewed.
|
||||
@ -62,14 +61,15 @@
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<div id="wrapper">
|
||||
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
|
||||
<?php wp_nav_menu( array( 'container_class' => 'melville_menu', 'theme_location' => 'header-menu' ) ); ?>
|
||||
|
||||
<div id="header">
|
||||
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
|
||||
<<?php echo $heading_tag; ?> id="site-title">
|
||||
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
|
||||
</<?php echo $heading_tag; ?>>
|
||||
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
||||
|
||||
|
||||
</div><!--#header-->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div id="content">
|
||||
|
Reference in New Issue
Block a user