Website Development
Quote from Peter Kam on April 29, 2021, 10:47 pmYou can find the footer.php file in your theme folder. For example, /wp-content/themes/yourtheme/footer.php (just look for your current theme name instead of “yourtheme”).
Simply open this file in a text editor and search for the footer credit text like “Powered by”, and it will show you the section that you need to remove.
In the default Twenty Twenty-One theme for WordPress, the code looks like this:
1
2
3
4
5
6
7
8
9
<div class="powered-by">
<?php
printf(
/* translators: %s: WordPress. */
esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
'<a href="' . esc_attr__( 'https://wordpress.org/', 'twentytwentyone' ) . '">WordPress</a>'
);
?>
</div><!-- .powered-by -->
You can either remove this text entirely or customize it to suit your needs.
You can find the footer.php file in your theme folder. For example, /wp-content/themes/yourtheme/footer.php (just look for your current theme name instead of “yourtheme”).
Simply open this file in a text editor and search for the footer credit text like “Powered by”, and it will show you the section that you need to remove.
In the default Twenty Twenty-One theme for WordPress, the code looks like this:
1
2
3
4
5
6
7
8
9
<div class="powered-by">
<?php
printf(
/* translators: %s: WordPress. */
esc_html__( 'Proudly powered by %s.', 'twentytwentyone' ),
'<a href="' . esc_attr__( 'https://wordpress.org/', 'twentytwentyone' ) . '">WordPress</a>'
);
?>
</div><!-- .powered-by -->
You can either remove this text entirely or customize it to suit your needs.