Advertisement
Guest User

footer.php

a guest
Nov 4th, 2017
1,992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.38 KB | None | 0 0
  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. ?>
  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 esc_attr_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.                 wp_nav_menu( array( 'theme_location' => 'footer-menu' ) );
  41.                 ?>
  42.             </div><!-- .wrap -->
  43.         </footer><!-- #colophon -->
  44.     </div><!-- .site-content-contain -->
  45. </div><!-- #page -->
  46. <?php wp_footer(); ?>
  47.  
  48. </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement