You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

  1. <?php
  2. /**
  3. * The template for displaying the footer
  4. *
  5. * Contains the closing of the #content div and all content after.
  6. *
  7. * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
  8. *
  9. * @package WordPress
  10. * @subpackage Twenty_Seventeen
  11. * @since Twenty Seventeen 1.0
  12. * @version 1.2
  13. */
  14. ?>
  15. </div><!-- #content -->
  16. <footer id="colophon" class="site-footer" role="contentinfo">
  17. <div class="wrap">
  18. <?php
  19. get_template_part( 'template-parts/footer/footer', 'widgets' );
  20. if ( has_nav_menu( 'social' ) ) :
  21. ?>
  22. <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
  23. <?php
  24. wp_nav_menu(
  25. array(
  26. 'theme_location' => 'social',
  27. 'menu_class' => 'social-links-menu',
  28. 'depth' => 1,
  29. 'link_before' => '<span class="screen-reader-text">',
  30. 'link_after' => '</span>' . twentyseventeen_get_svg( array( 'icon' => 'chain' ) ),
  31. )
  32. );
  33. ?>
  34. </nav><!-- .social-navigation -->
  35. <?php
  36. endif;
  37. get_template_part( 'template-parts/footer/site', 'info' );
  38. ?>
  39. </div><!-- .wrap -->
  40. </footer><!-- #colophon -->
  41. </div><!-- .site-content-contain -->
  42. </div><!-- #page -->
  43. <?php wp_footer(); ?>
  44. </body>
  45. </html>