Changeset 44149 for trunk/src/wp-content/themes/twentynineteen/footer.php
- Timestamp:
- 12/14/2018 02:32:33 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963
- Property svn:mergeinfo changed
-
trunk/src/wp-content/themes/twentynineteen/footer.php
r43808 r44149 9 9 * @package WordPress 10 10 * @subpackage Twenty_Nineteen 11 * @since 1.0.0 11 12 */ 12 13 … … 16 17 17 18 <footer id="colophon" class="site-footer"> 19 <?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?> 18 20 <div class="site-info"> 19 <a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>, 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; ?> 20 25 <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentynineteen' ) ); ?>" class="imprint"> 21 <?php printf( __( 'Proudly powered by %s', 'twentynineteen' ), 'WordPress' ); ?>. 26 <?php 27 /* translators: %s: WordPress. */ 28 printf( __( 'Proudly powered by %s.', 'twentynineteen' ), 'WordPress' ); 29 ?> 22 30 </a> 23 31 <?php … … 26 34 } 27 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; ?> 28 49 </div><!-- .site-info --> 29 50 </footer><!-- #colophon -->
Note: See TracChangeset
for help on using the changeset viewer.