Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
< ? php
/**
* The template for displaying the footer
*
* Contains the opening of the #site-footer div and all content after.
*
* @ link https :// developer . wordpress . org / themes / basics / template - files / #template-partials
*
* @ package WordPress
* @ subpackage Twenty_Twenty
* @ since 1.0 . 0
*/
?>
< footer id = " site-footer " role = " contentinfo " class = " header-footer-group " >
< div class = " footer-inner section-inner " >
< ? php
$has_footer_menu = has_nav_menu ( 'footer' );
$has_social_menu = has_nav_menu ( 'social' );
$footer_top_classes = '' ;
$footer_top_classes .= $has_footer_menu ? ' has-footer-menu' : '' ;
$footer_top_classes .= $has_social_menu ? ' has-social-menu' : '' ;
$footer_social_wrapper_class = $has_footer_menu ? 'footer-social-wrapper' : '' ;
if ( $has_footer_menu || $has_social_menu ) {
?>
< div class = " footer-top<?php echo esc_attr( $footer_top_classes ); ?> " >
< ? php if ( $has_footer_menu ) { ?>
< nav aria - label = " <?php esc_attr_e( 'Footer menu', 'twentytwenty' ); ?> " >
< ul class = " footer-menu reset-list-style " >
< ? php
wp_nav_menu (
array (
'container' => '' ,
'depth' => 1 ,
'items_wrap' => '%3$s' ,
'theme_location' => 'footer' ,
)
);
?>
</ ul >
</ nav ><!-- . site - nav -->
< ? php } ?>
< ? php if ( $has_social_menu ) { ?>
< div class = " <?php esc_attr( $footer_social_wrapper_class ); ?> " >
< nav aria - label = " <?php esc_attr_e( 'Social links', 'twentytwenty' ); ?> " >
< ul class = " social-menu footer-social reset-list-style social-icons s-icons " >
< ? php
wp_nav_menu (
array (
'theme_location' => 'social' ,
'container' => '' ,
'container_class' => '' ,
'items_wrap' => '%3$s' ,
'menu_id' => '' ,
'menu_class' => '' ,
'depth' => 1 ,
'link_before' => '<span class="screen-reader-text">' ,
'link_after' => '</span>' ,
'fallback_cb' => '' ,
)
);
?>
</ ul >
</ nav ><!-- . social - menu -->
</ div ><!-- . footer - social - wrapper -->
< ? php } ?>
</ div ><!-- . footer - top -->
< ? php } ?>
2019-09-23 19:17:58 -04:00
< ? php if ( is_active_sidebar ( 'sidebar-1' ) || is_active_sidebar ( 'sidebar-2' ) ) { ?>
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
< div class = " footer-widgets-outer-wrapper " >
< div class = " footer-widgets-wrapper " >
2019-09-23 19:17:58 -04:00
< ? php if ( is_active_sidebar ( 'sidebar-1' ) ) { ?>
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
< div class = " footer-widgets column-one grid-item " >
2019-09-23 19:17:58 -04:00
< ? php dynamic_sidebar ( 'sidebar-1' ); ?>
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
</ div >
< ? php } ?>
2019-09-23 19:17:58 -04:00
< ? php if ( is_active_sidebar ( 'sidebar-2' ) ) { ?>
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
< div class = " footer-widgets column-two grid-item " >
2019-09-23 19:17:58 -04:00
< ? php dynamic_sidebar ( 'sidebar-2' ); ?>
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
</ div >
< ? php } ?>
</ div ><!-- . footer - widgets - wrapper -->
</ div ><!-- . footer - widgets - outer - wrapper -->
< ? php } ?>
< div class = " footer-bottom " >
< div class = " footer-credits " >
< p class = " footer-copyright " >& copy ;
< ? php
echo esc_html (
date_i18n (
/* Translators: Y = Format parameter for date() https://php.net/manual/en/function.date.php */
_x ( 'Y' , 'Translators: Y = Current year' , 'twentytwenty' )
)
);
?>
< a href = " <?php echo esc_url( home_url( '/' ) ); ?> " >< ? php echo bloginfo ( 'name' ); ?> </a></a>
</ p >
< p class = " powered-by-wordpress " >
< ? php
/* Translators: %s = Link to WordPress.org */
printf ( _x ( 'Powered by %s' , 'Translators: %s = Link to WordPress.org' , 'twentytwenty' ), '<a href="https://wordpress.org">' . __ ( 'WordPress' , 'twentytwenty' ) . '</a>' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- core trusts translations
?>
</ p ><!-- . theme - credits -->
</ div ><!-- . footer - credits -->
< a class = " to-the-top " href = " #site-header " >
< span class = " to-the-top-long " >
< ? php
// Translators: %s = HTML character for an arrow.
printf ( esc_html ( _x ( 'To the top %s' , '%s = HTML character for an arrow' , 'twentytwenty' ) ), '<span class="arrow">↑</span>' );
?>
</ span >
< span class = " to-the-top-short " >
< ? php
// Translators: %s = HTML character for an arrow.
printf ( esc_html ( _x ( 'Up %s' , '%s = HTML character for an arrow' , 'twentytwenty' ) ), '<span class="arrow">↑</span>' );
?>
</ span >
</ a >
</ div ><!-- . footer - bottom -->
</ div ><!-- . footer - inner -->
</ footer ><!-- #site-footer -->
< ? php wp_footer (); ?>
</ body >
</ html >