1. <?php
  2. /**
  3. * The Header for our theme.
  4. *
  5. * Displays all of the <head> section and everything up till <div id="main">
  6. *
  7. * @package WordPress
  8. * @subpackage Twenty_Eleven
  9. * @since Twenty Eleven 1.0
  10. */
  11. ?><!DOCTYPE html>
  12. <!--[if IE 6]>
  13. <html id="ie6" <?php language_attributes(); ?>>
  14. <![endif]-->
  15. <!--[if IE 7]>
  16. <html id="ie7" <?php language_attributes(); ?>>
  17. <![endif]-->
  18. <!--[if IE 8]>
  19. <html id="ie8" <?php language_attributes(); ?>>
  20. <![endif]-->
  21. <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
  22. <html <?php language_attributes(); ?>>
  23. <!--<![endif]-->
  24. <head>
  25. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  26. <meta name="viewport" content="width=device-width" />
  27.  
  28. <title><?php
  29. /*
  30. * Print the <title> tag based on what is being viewed.
  31. */
  32. global $page, $paged;
  33.  
  34. wp_title( '|', true, 'right' );
  35.  
  36. // Add the blog name.
  37. bloginfo( 'name' );
  38.  
  39. // Add the blog description for the home/front page.
  40. $site_description = get_bloginfo( 'description', 'display' );
  41. if ( $site_description && ( is_home() || is_front_page() ) )
  42. echo " | $site_description";
  43.  
  44. // Add a page number if necessary:
  45. if ( $paged >= 2 || $page >= 2 )
  46. echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
  47.  
  48. ?></title>
  49. <link rel="profile" href="http://gmpg.org/xfn/11" />
  50. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  51.  
  52. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  53. <!--[if lt IE 9]>
  54. <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
  55. <![endif]-->
  56.  
  57.  
  58. <?php wp_head(); ?>
  59.  
  60. </head>
  61.  
  62.  
  63.  
  64. <script type="text/javascript">
  65. jQuery(document).ready(function(){
  66. jQuery('#slipSlap').slipSlap();
  67. });
  68. </script>
  69.  
  70.  
  71. <div id="fb-root"></div>
  72. <script>(function(d, s, id) {
  73. var js, fjs = d.getElementsByTagName(s)[0];
  74. if (d.getElementById(id)) return;
  75. js = d.createElement(s); js.id = id;
  76. js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
  77. fjs.parentNode.insertBefore(js, fjs);
  78. }(document, 'script', 'facebook-jssdk'));
  79. </script>
  80.  
  81. <body <?php body_class(); ?>>
  82.  
  83. <div id="page" class="hfeed">
  84. <header id="branding" role="banner">