Categories
Themes

Twenty Twenty Theme – How to Edit Footer Copyright Text

A detailed tutorial on how to change the footer copyright text and how to remove Powered by WordPress text from Twenty Twenty Theme

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:

Text areas in Twenty Twenty theme footer

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.

Twenty Child Theme

Twenty Twenty Child theme allows you to edit footer copyright text, edit or hide ‘Power by WordPress’ text and also customize the ‘To the top’ 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 wp-content/themes/twentytwenty/ folder.

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.

Screenshot of how footer.php should look like
This how your footer.php file should look when you change the mentioned line.

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.

Screenshot of how footer.php should look like when you want to change Powered by WordPress text

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.

Leave a Reply

Your email address will not be published. Required fields are marked *