[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyseventeen/ -> footer.php (source)

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


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1