* The template for displaying the footer
* Contains the closing of the #content div and all content after.
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
* @subpackage Twenty_Twenty_One
* @since Twenty Twenty-One 1.0
<?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<nav aria-label="<?php esc_attr_e( 'Secondary menu', 'twentytwentyone' ); ?>" class="footer-navigation">
<ul class="footer-navigation-wrapper">
'theme_location' => 'footer',
'link_before' => '<span>',
'link_after' => '</span>',
</ul><!-- .footer-navigation-wrapper -->
</nav><!-- .footer-navigation -->
<?php if ( has_custom_logo() ) : ?>
<div class="site-logo"><?php the_custom_logo(); ?></div>
<?php if ( get_bloginfo( 'name' ) && get_theme_mod( 'display_title_and_tagline', true ) ) : ?>
<?php if ( is_front_page() && ! is_paged() ) : ?>
<?php bloginfo( 'name' ); ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
</div><!-- .site-name -->
/* translators: %s: WordPress. */
esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
'<a href="' . esc_url( __( 'https://wordpress.org/', 'twentytwentyone' ) ) . '">WordPress</a>'
</div><!-- .powered-by -->
</div><!-- .site-info -->
</footer><!-- #colophon -->