/blog/wp-content/themes/modularity-lite/header.php
PHP | 55 lines | 39 code | 12 blank | 4 comment | 3 complexity | f77bb8ff9d3e90e498be57abf4f918b9 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php
- /**
- * @package WordPress
- * @subpackage Modularity
- */
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!--[if IE 6]>
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> class="lteIE6">
- <![endif]-->
- <!--[if (gt IE 6) | (!IE)]><!-->
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <!-- <![endif]-->
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <title><?php wp_title(); ?> <?php bloginfo('name'); ?></title>
- <!-- Styles -->
- <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/screen.css" type="text/css" media="screen, projection" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/print.css" type="text/css" media="print" />
- <!--[if lte IE 8]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/ie.css" type="text/css" media="screen, projection" /><![endif]-->
- <!--[if lte IE 7]><link type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/ie-nav.css" rel="stylesheet" media="all" /><![endif]-->
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <?php if ( is_singular() && get_option( 'thread_comments' ) )
- wp_enqueue_script( 'comment-reply' ); ?>
- <?php wp_head(); ?>
- </head>
- <body <?php body_class(); ?>>
- <div id="top">
- <!-- Begin Masthead -->
- <div id="masthead">
- <h4 class="left"><a href="<?php echo home_url( '/' ); ?>" title="<?php _e( 'Home', 'modularity' ); ?>" class="logo"><?php bloginfo( 'name' ); ?></a> <span class="description"><?php bloginfo( 'description' ); ?></span></h4>
- </div>
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'main-nav' ) ); ?>
- <div class="clear"></div>
- </div>
- <div class="container">
- <div class="container-inner">
-
- <?php if ( get_theme_mod( 'header_image' ) ) : ?>
- <div id="header-image">
- <img src="<?php header_image() ?>" width="950" height="200" alt="" />
- </div>
- <?php endif; ?>