WordPress 4.4.1
[autoinstalls/wordpress.git] / wp-content / themes / twentysixteen / 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  * @package WordPress
8  * @subpackage Twenty_Sixteen
9  * @since Twenty Sixteen 1.0
10  */
11 ?>
12
13                 </div><!-- .site-content -->
14
15                 <footer id="colophon" class="site-footer" role="contentinfo">
16                         <?php if ( has_nav_menu( 'primary' ) ) : ?>
17                                 <nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>">
18                                         <?php
19                                                 wp_nav_menu( array(
20                                                         'theme_location' => 'primary',
21                                                         'menu_class'     => 'primary-menu',
22                                                  ) );
23                                         ?>
24                                 </nav><!-- .main-navigation -->
25                         <?php endif; ?>
26
27                         <?php if ( has_nav_menu( 'social' ) ) : ?>
28                                 <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentysixteen' ); ?>">
29                                         <?php
30                                                 wp_nav_menu( array(
31                                                         'theme_location' => 'social',
32                                                         'menu_class'     => 'social-links-menu',
33                                                         'depth'          => 1,
34                                                         'link_before'    => '<span class="screen-reader-text">',
35                                                         'link_after'     => '</span>',
36                                                 ) );
37                                         ?>
38                                 </nav><!-- .social-navigation -->
39                         <?php endif; ?>
40
41                         <div class="site-info">
42                                 <?php
43                                         /**
44                                          * Fires before the twentysixteen footer text for footer customization.
45                                          *
46                                          * @since Twenty Sixteen 1.0
47                                          */
48                                         do_action( 'twentysixteen_credits' );
49                                 ?>
50                                 <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
51                                 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?></a>
52                         </div><!-- .site-info -->
53                 </footer><!-- .site-footer -->
54         </div><!-- .site-inner -->
55 </div><!-- .site -->
56
57 <?php wp_footer(); ?>
58 </body>
59 </html>