[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
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_Nineteen 11 * @since Twenty Nineteen 1.0 12 */ 13 14 ?> 15 16 </div><!-- #content --> 17 18 <footer id="colophon" class="site-footer"> 19 <?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?> 20 <div class="site-info"> 21 <?php $blog_info = get_bloginfo( 'name' ); ?> 22 <?php if ( ! empty( $blog_info ) ) : ?> 23 <a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>, 24 <?php endif; ?> 25 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentynineteen' ) ); ?>" class="imprint"> 26 <?php 27 /* translators: %s: WordPress. */ 28 printf( __( 'Proudly powered by %s.', 'twentynineteen' ), 'WordPress' ); 29 ?> 30 </a> 31 <?php 32 if ( function_exists( 'the_privacy_policy_link' ) ) { 33 the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); 34 } 35 ?> 36 <?php if ( has_nav_menu( 'footer' ) ) : ?> 37 <nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'twentynineteen' ); ?>"> 38 <?php 39 wp_nav_menu( 40 array( 41 'theme_location' => 'footer', 42 'menu_class' => 'footer-menu', 43 'depth' => 1, 44 ) 45 ); 46 ?> 47 </nav><!-- .footer-navigation --> 48 <?php endif; ?> 49 </div><!-- .site-info --> 50 </footer><!-- #colophon --> 51 52 </div><!-- #page --> 53 54 <?php wp_footer(); ?> 55 56 </body> 57 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |