How to change the footer credits in TwentySeventeen

Footer credits Twentyseventeen

Is the Proudly powered by WordPress footer text in TwentySeventeen bothering you? Would you like to remove these footer credits or even customise with your own text or company credits? Read further as this article will show how easy it is to do this.

Maybe you’re looking for a way to change the credits in the Twenty Nineteen theme? Check here.

Depending on what your goal is, there are three ways you can tackle this task:

  1. Hide the footer credits in Twentyseventeen completely (if you don’t want to replace with your own);
  2. Change to your own credits using only CSS (if you would like to replace with your own text-based credits);
  3. Change to your own credits using a child theme (if you would like to replace with your own HTML credits – for example to include a link).

Option 1: Hiding the credits

Navigate to Appearance > Customize > Additional CSS and add this:

.site-info {
  display: none;
}

Option 2: Add your own footer credits in twentyseventeen

Again, go to Appearance > Customize > Additional CSS but this time add this CSS code:

.site-info a {
  display: none;
}
.site-info::before {
  content: 'YOUR COMPANY CREDITS HERE';
}

After that, just be sure to add your own footer credits. As I mentioned previously, this way of handling the credits will not allow you to use any kind of HTML.

Option 3: Using a child theme to add your own footer text

First of all, you need to use a child theme to replace the default footer credits in the Twentyseventeen WordPress theme. There are a lot of plugins that can help you automatically build a child theme, like this plugin for example. Also, if you want you can also create your child theme manually following the instructions from the Codex.

After you have created your child theme, you will need to create a folder inside called template-parts and inside this new folder you should create a folder called footer. After that download a copy of Twentyseventeen, extract it and find this file: /template-parts/footer/site-info.php. Get this file and move it to the folder you previously created.

Open site-info.php and find this code:

<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?></a>

Replace this code with your own footer credits and then you’re ready to upload your child theme to your own server. Activate your new child theme and notice how the default footer credits from Twentyseventeen have now been replaced with your own.

Subscribe for helpful tips and release info.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.