WordPress 4.7
[autoinstalls/wordpress.git] / wp-content / themes / twentyseventeen / footer.php
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.0
13  */
14
15 ?>
16
17                 </div><!-- #content -->
18
19                 <footer id="colophon" class="site-footer" role="contentinfo">
20                         <div class="wrap">
21                                 <?php
22                                 get_template_part( 'template-parts/footer/footer', 'widgets' );
23
24                                 if ( has_nav_menu( 'social' ) ) : ?>
25                                         <nav class="social-navigation" role="navigation" aria-label="<?php _e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>">
26                                                 <?php
27                                                         wp_nav_menu( array(
28                                                                 'theme_location' => 'social',
29                                                                 'menu_class'     => 'social-links-menu',
30                                                                 'depth'          => 1,
31                                                                 'link_before'    => '<span class="screen-reader-text">',
32                                                                 'link_after'     => '</span>' . twentyseventeen_get_svg( array( 'icon' => 'chain' ) ),
33                                                         ) );
34                                                 ?>
35                                         </nav><!-- .social-navigation -->
36                                 <?php endif;
37
38                                 get_template_part( 'template-parts/footer/site', 'info' );
39                                 ?>
40                         </div><!-- .wrap -->
41                 </footer><!-- #colophon -->
42         </div><!-- .site-content-contain -->
43 </div><!-- #page -->
44 <?php wp_footer(); ?>
45
46 </body>
47 </html>