Edit File by line
/home/barbar84/www/wp-conte.../themes/twentytw...
File: footer.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The template for displaying the footer
[2] Fix | Delete
*
[3] Fix | Delete
* Contains the closing of the #content div and all content after.
[4] Fix | Delete
*
[5] Fix | Delete
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
[6] Fix | Delete
*
[7] Fix | Delete
* @package WordPress
[8] Fix | Delete
* @subpackage Twenty_Twenty_One
[9] Fix | Delete
* @since Twenty Twenty-One 1.0
[10] Fix | Delete
*/
[11] Fix | Delete
[12] Fix | Delete
?>
[13] Fix | Delete
</main><!-- #main -->
[14] Fix | Delete
</div><!-- #primary -->
[15] Fix | Delete
</div><!-- #content -->
[16] Fix | Delete
[17] Fix | Delete
<?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
[18] Fix | Delete
[19] Fix | Delete
<footer id="colophon" class="site-footer" role="contentinfo">
[20] Fix | Delete
[21] Fix | Delete
<?php if ( has_nav_menu( 'footer' ) ) : ?>
[22] Fix | Delete
<nav aria-label="<?php esc_attr_e( 'Secondary menu', 'twentytwentyone' ); ?>" class="footer-navigation">
[23] Fix | Delete
<ul class="footer-navigation-wrapper">
[24] Fix | Delete
<?php
[25] Fix | Delete
wp_nav_menu(
[26] Fix | Delete
array(
[27] Fix | Delete
'theme_location' => 'footer',
[28] Fix | Delete
'items_wrap' => '%3$s',
[29] Fix | Delete
'container' => false,
[30] Fix | Delete
'depth' => 1,
[31] Fix | Delete
'link_before' => '<span>',
[32] Fix | Delete
'link_after' => '</span>',
[33] Fix | Delete
'fallback_cb' => false,
[34] Fix | Delete
)
[35] Fix | Delete
);
[36] Fix | Delete
?>
[37] Fix | Delete
</ul><!-- .footer-navigation-wrapper -->
[38] Fix | Delete
</nav><!-- .footer-navigation -->
[39] Fix | Delete
<?php endif; ?>
[40] Fix | Delete
<div class="site-info">
[41] Fix | Delete
<div class="site-name">
[42] Fix | Delete
<?php if ( has_custom_logo() ) : ?>
[43] Fix | Delete
<div class="site-logo"><?php the_custom_logo(); ?></div>
[44] Fix | Delete
<?php else : ?>
[45] Fix | Delete
<?php if ( get_bloginfo( 'name' ) && get_theme_mod( 'display_title_and_tagline', true ) ) : ?>
[46] Fix | Delete
<?php if ( is_front_page() && ! is_paged() ) : ?>
[47] Fix | Delete
<?php bloginfo( 'name' ); ?>
[48] Fix | Delete
<?php else : ?>
[49] Fix | Delete
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
[50] Fix | Delete
<?php endif; ?>
[51] Fix | Delete
<?php endif; ?>
[52] Fix | Delete
<?php endif; ?>
[53] Fix | Delete
</div><!-- .site-name -->
[54] Fix | Delete
<div class="powered-by">
[55] Fix | Delete
<?php
[56] Fix | Delete
printf(
[57] Fix | Delete
/* translators: %s: WordPress. */
[58] Fix | Delete
esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
[59] Fix | Delete
'<a href="' . esc_url( __( 'https://wordpress.org/', 'twentytwentyone' ) ) . '">WordPress</a>'
[60] Fix | Delete
);
[61] Fix | Delete
?>
[62] Fix | Delete
</div><!-- .powered-by -->
[63] Fix | Delete
[64] Fix | Delete
</div><!-- .site-info -->
[65] Fix | Delete
</footer><!-- #colophon -->
[66] Fix | Delete
[67] Fix | Delete
</div><!-- #page -->
[68] Fix | Delete
[69] Fix | Delete
<?php wp_footer(); ?>
[70] Fix | Delete
[71] Fix | Delete
</body>
[72] Fix | Delete
</html>
[73] Fix | Delete
[74] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function