footer.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 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. <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
  22. <?php
  23. wp_nav_menu( array(
  24. 'theme_location' => 'social',
  25. 'menu_class' => 'social-links-menu',
  26. 'depth' => 1,
  27. 'link_before' => '<span class="screen-reader-text">',
  28. 'link_after' => '</span>' . twentyseventeen_get_svg( array( 'icon' => 'chain' ) ),
  29. ) );
  30. ?>
  31. </nav><!-- .social-navigation -->
  32. <?php endif;
  33. get_template_part( 'template-parts/footer/site', 'info' );
  34. ?>
  35. </div><!-- .wrap -->
  36. </footer><!-- #colophon -->
  37. </div><!-- .site-content-contain -->
  38. </div><!-- #page -->
  39. <?php wp_footer(); ?>
  40. </body>
  41. </html>