footer.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. printf('
  3. <footer>
  4. <div class="menu">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-md-12">
  8. <nav>');
  9. $args = array(
  10. 'container' => 'ul',
  11. 'container_id' => 'nav-main',
  12. 'menu_class' => 'col-md-12 col-sm-7',
  13. // 'container' => false,
  14. // 'menu_class' => '',
  15. // 'items_wrap' => '<ul class="col-md-12">%3$s</ul>',
  16. 'theme_location' => 'footer_nav'
  17. );
  18. wp_nav_menu( $args );
  19. printf('</nav>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="copyleft">
  25. <div class="container">
  26. <div class="row">
  27. <div class="col-md-12">
  28. <p>Copyleft &copy; ' . get_bloginfo('name') . ' | ' . date('Y') . ' </p>
  29. </div>
  30. </div>
  31. </div>
  32. </div>');
  33. wp_footer();
  34. printf(
  35. '</footer>
  36. </body>
  37. </html>');