footer.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <footer class="footer" role="contentinfo">
  2. <div id="inner-footer" class="wrap cf">
  3. <nav role="navigation">
  4. <?php wp_nav_menu(array(
  5. 'container' => '', // remove nav container
  6. 'container_class' => 'footer-links cf', // class of container (should you choose to use it)
  7. 'menu' => __( 'Footer Links', 'bonestheme' ), // nav name
  8. 'menu_class' => 'nav footer-nav cf', // adding custom nav class
  9. 'theme_location' => 'footer-links', // where it's located in the theme
  10. 'before' => '', // before the menu
  11. 'after' => '', // after the menu
  12. 'link_before' => '', // before each link
  13. 'link_after' => '', // after each link
  14. 'depth' => 0, // limit the depth of the nav
  15. 'fallback_cb' => 'bones_footer_links_fallback' // fallback function
  16. )); ?>
  17. </nav>
  18. <p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>.</p>
  19. </div> <?php // end #inner-footer ?>
  20. </footer> <?php // end footer ?>
  21. </div> <?php // end #container ?>
  22. <?php // all js scripts are loaded in library/bones.php ?>
  23. <?php wp_footer(); ?>
  24. </body>
  25. </html> <!-- end of site. what a ride! -->