header.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!--
  2. . . . . . .
  3. . . ...-..-| |-. .-. .-.-..-| .-.. ...-|
  4. ` ` '' '`-'-' '-`-`-' ' '`-'-`-`-` '`-'-
  5. -->
  6. <!DOCTYPE html>
  7. <!--[if lt IE 9]><html class="ie"><![endif]-->
  8. <!--[if gte IE 9]><!--><html><!--<![endif]-->
  9. <html lang="en-US">
  10. <head>
  11. <meta charset="UTF-8" />
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  13. <meta name="viewport" content="width=device-width, initial-scale=1">
  14. <title><?php dw_page_title();?></title>
  15. <?php wp_head(); ?>
  16. </head>
  17. <body>
  18. <header id="header">
  19. <div class="navbar navbar-fixed-top" role="navigation">
  20. <div class="container">
  21. <div class="site-title">
  22. <a href="http://davidawindham.com" title="David Windham"><img class="dw" title="David Windham" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/></a>
  23. <a href="<?php echo home_url( '/' ); ?>" class="navbar-brand navbar-right" title="David A. Windham" rel="home">David A. Windham</a>
  24. </div>
  25. </div>
  26. <a href="#" class="nav-toggle navbar-right" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body"><span></span></a>
  27. </div>
  28. </header>
  29. <nav class="navmenu navmenu-default navmenu-fixed-right offcanvas" role="complementary">
  30. <?php wp_nav_menu( array( 'menu' => 'main','sort_column' => 'menu_order', 'container_class' => 'nav-stacked', 'menu_class' => 'nav nav-stacked' ) ); ?>
  31. <a href="#archives" class="list-group-item list-group-item-success" data-toggle="collapse" data-parent=".navmenu">Archives</a>
  32. <div class="collapse" id="archives">
  33. <?php wp_get_archives( array( 'type' => 'yearly', 'limit' => 40 ) ); ?>
  34. </div>
  35. </nav>