I liked the new WordPress theme Twenty Twenty, so I decided to use it in some projects. 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.
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>' );
If you have any questions, please feel free to use the comments section below.