I liked the new WordPress theme Twenty Twenty, so I decided to use it as my personal blog theme. Like any other default theme, I had to do some changes (mainly with the footer) and I’m sharing a few of them with you today in this post.
First, let’s have a look at the default footer that comes with Twenty Twenty theme:
As you can see, there are 3 text fields:
- Copyright text.
- Powered by WordPress.
- To the top
In this post, I’ll show you how to customize the copyright text and also the ‘Powered by WordPress’ text.
Before we start, you can download Twenty Twenty child theme, it’s free and it gives you the ability to change those texts from within WordPress customizer.
How to Edit Footer Copyright Text
First, you’ll need to locate
footer.php file in your site’s files. To do so, connect to your website using either FTP or SFTP, then navigate to
Once you have the footer.php file opened, look for:
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo bloginfo( 'name' ); ?></a>
and change it to
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo __('YOUR TEXT', 'twentytwenty'); ?></a>
Then simply, change
YOUR TEXT with your desired text.
How to Edit Powered by WordPress Text
This one will be easy as you already have the
footer.php file opened. To edit ‘Powered by WordPress‘ text, search for it in the file and change it to whatever you want. Also, you can change where it links to as shown in the following screenshot.
How to Edit To the top Text
Similarly, you can change the ‘To the top’ text. Please note, there are 2 versions of this text, one for the regular screens and the other one for mobile screens. As you can see in the following screenshot
you’ll need to change ‘To the top’ and ‘Up’ strings. Make sure to keep the placeholder
%s as this actually is the arrow. So your edit should be something like:
printf( __( 'BACK TO TOP %s', 'twentytwenty' ), '<span class="arrow" aria-hidden="true">↑</span>' );
Easy, right? Remember, you can do all by editing the texts in the native WordPress customizer which is much easier by using Twenty Twenty Child theme as shown
If you have any questions, please feel free to use the comments section below.