header.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset="<?php bloginfo( 'charset' ); ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
  8. <!-- Bootstrap -->
  9. <link href="<?php echo get_template_directory_uri(); ?>/css/bootstrap.min.css" rel="stylesheet">
  10. <link href="<?php echo get_template_directory_uri(); ?>/css/font-awesome.min.css" rel="stylesheet">
  11. <link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300,200' rel='stylesheet' type='text/css'>
  12. <link href="<?php echo get_template_directory_uri(); ?>/css/style.css" rel="stylesheet">
  13. <link rel="profile" href="http://gmpg.org/xfn/11" />
  14. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  15. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  16. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  17. <!--[if lt IE 9]>
  18. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  19. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  20. <![endif]-->
  21. <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
  22. <?php wp_head(); ?>
  23. </head>
  24. <body>
  25. <div id="container" class="container clearfix">
  26. <header id="header" class="clearfix">
  27. <a href="<?php echo get_site_url(); ?>">
  28. <img src="http://yakidoo.de/wp-content/uploads/2015/05/YakidooLogo_standalone.png" alt="Yakidoo.de powered by GamingSwitch.de">
  29. </a>
  30. </header>
  31. <div id="nav" class="nav clearfix">
  32. <?php
  33. $defaults = array(
  34. 'theme_location' => 'header-menu',
  35. 'menu' => 'Header Menu',
  36. 'container' => '',
  37. 'container_class' => '',
  38. 'container_id' => '',
  39. 'menu_class' => 'menu list-inline',
  40. 'menu_id' => 'main-nav',
  41. 'echo' => true,
  42. 'fallback_cb' => 'wp_page_menu',
  43. 'before' => '',
  44. 'after' => '',
  45. 'link_before' => '',
  46. 'link_after' => '',
  47. 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  48. 'depth' => 0,
  49. 'walker' => new Yakidoo_Walker()
  50. );
  51. wp_nav_menu( $defaults );
  52. ?>
  53. <div id="sub-menu" class="clearfix">
  54. <div id="breaking" class="pull-left">
  55. <span>Breaking <i class="fa fa-long-arrow-right"></i> </span>
  56. <ul>
  57. <li>
  58. <a href="#">Veltin ist nicht da</a>
  59. </li>
  60. <li style="display: none;">
  61. <a href="#">Veltin ist immer noch nicht da</a>
  62. </li>
  63. <li style="display: none;">
  64. <a href="#">alllrl</a>
  65. </li>
  66. </ul>
  67. </div>
  68. <div id="sub-menu-menu" class="pull-right">
  69. <?php
  70. $defaults = array(
  71. 'theme_location' => 'header-sub-menu',
  72. 'menu' => 'Header Sub-menu',
  73. 'container' => '',
  74. 'container_class' => '',
  75. 'container_id' => '',
  76. 'menu_class' => 'menu',
  77. 'menu_id' => 'main-sub-nav',
  78. 'echo' => true,
  79. 'fallback_cb' => 'wp_page_menu',
  80. 'before' => '',
  81. 'after' => '',
  82. 'link_before' => '',
  83. 'link_after' => '',
  84. 'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
  85. 'depth' => 0,
  86. 'walker' => new Yakidoo_Walker()
  87. );
  88. wp_nav_menu( $defaults );
  89. ?>
  90. <!--<ul>
  91. <li>Über Uns</li>
  92. <li>Team</li>
  93. <li>Autor werden</li>
  94. <li>Kontakt</li>
  95. </ul>-->
  96. </div>
  97. </div>
  98. </div>