header.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  5. <title><?php global $page, $paged;
  6. wp_title( '|', true, 'right' );
  7. bloginfo( 'name' );
  8. $site_description = get_bloginfo( 'description', 'display' );
  9. if ( $site_description && ( is_home() || is_front_page() ) )
  10. echo " | $site_description";
  11. if ( $paged >= 2 || $page >= 2 )
  12. echo ' | ' . sprintf( __( 'Page %s', 'daw' ), max( $paged, $page ) );
  13. ?></title>
  14. <link rel="profile" href="http://gmpg.org/xfn/11" />
  15. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  16. <?php if ( is_page_template('single.php') && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); wp_enqueue_script("jquery"); wp_head(); ?>
  17. <script type="text/javascript">var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1906067-6']); _gaq.push(['_trackPageview']);(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();</script>
  18. </head>
  19. <body>
  20. <div id="wrapper" class="hfeed">
  21. <div id="header">
  22. <div id="masthead">
  23. <div id="branding" role="banner">
  24. <div id="site-title">
  25. <span><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
  26. </div>
  27. </div>
  28. <div id="access" role="navigation">
  29. <!-- <?php wp_nav_menu( array( 'menu' => 'main','sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?> -->
  30. <div class="subnav">
  31. <!-- <?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?>
  32. <ul><?php echo $children; ?></ul>
  33. <?php } ?> -->
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <div id="main">