PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/blog/wp-content/themes/modularity-lite/header.php

https://bitbucket.org/sergiohzlz/reportaprod
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
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Modularity
  5. */
  6. ?>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <!--[if IE 6]>
  9. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> class="lteIE6">
  10. <![endif]-->
  11. <!--[if (gt IE 6) | (!IE)]><!-->
  12. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  13. <!-- <![endif]-->
  14. <head profile="http://gmpg.org/xfn/11">
  15. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  16. <title><?php wp_title(); ?> <?php bloginfo('name'); ?></title>
  17. <!-- Styles -->
  18. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
  19. <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/screen.css" type="text/css" media="screen, projection" />
  20. <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/print.css" type="text/css" media="print" />
  21. <!--[if lte IE 8]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/ie.css" type="text/css" media="screen, projection" /><![endif]-->
  22. <!--[if lte IE 7]><link type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/library/styles/ie-nav.css" rel="stylesheet" media="all" /><![endif]-->
  23. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  24. <?php if ( is_singular() && get_option( 'thread_comments' ) )
  25. wp_enqueue_script( 'comment-reply' ); ?>
  26. <?php wp_head(); ?>
  27. </head>
  28. <body <?php body_class(); ?>>
  29. <div id="top">
  30. <!-- Begin Masthead -->
  31. <div id="masthead">
  32. <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>
  33. </div>
  34. <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'main-nav' ) ); ?>
  35. <div class="clear"></div>
  36. </div>
  37. <div class="container">
  38. <div class="container-inner">
  39. <?php if ( get_theme_mod( 'header_image' ) ) : ?>
  40. <div id="header-image">
  41. <img src="<?php header_image() ?>" width="950" height="200" alt="" />
  42. </div>
  43. <?php endif; ?>