There may be times you wish to remove the footer credit from WordPress, either to replace it with your own footer credits or to remove it entirely for design or aesthetic reasons. In WordPress, you can change the footer credit rather easily, but if you’ve never done it before, knowing where to go to do it can be a bit tricky.
I’m going to show you two ways to remove the footer credit, first with a plugin called Remove Footer Credit, then manually, by editing a theme file.
Am I allowed to remove the footer credit from WordPress?
WordPress is licensed under GPL (General Public License). One of the freedoms allowed by GPL is the “freedom to change the software to suit your needs.”
So don’t worry, you aren’t going to land in hot water when you remove the footer credit from WordPress.
Installing the Remove Footer Credit Plugin In WordPress
Log in to your WordPress admin panel.
In the left column navigation mouse over the “Plugins” link and click the “Add New” link.
In the “Search plugins…” box, enter “Remove Footer Credit.”
Once you have located the plugin, click the “Install Now” button.
When the plugin has been installed, click the “Activate” button.
Configuring the Remove Footer Credit Plugin
In the left column navigation, mouse over the “Tools” link and click the “Remove Footer Credit” link.
You use the plugin by entering the text or HTML that you would like to find, and the text or HTML that you would like to replace it with.
You can copy and paste the text that you want to remove, but it’s better to copy the underlying HTML. That way, you’re sure that you’re only removing the footer credit, and you won’t inadvertently remove the same text if you use it elsewhere.
Like in a post about removing the footer credit. 😉
So to get to the HTML, we’re going to view the page source for any page or post on your site.
Search for div class=”site-info” (or just scroll down near the bottom) and copy everything between:
Go back to Tools > Remove Footer Credit and paste the code you copied into the “Step 1: Enter text/HTML to remove (one per line)” field.
In the “Step 2: Enter your own footer credit (one per line)” field, enter your new footer credit (or leave it blank to remove the line altogether). In this example, I am simply putting “My blog.”
Click the “Save” button.
That should remove the footer credit from your WordPress site and replace it with your text or code.
Alternate Method: Remove the Credit Line by Editing the footer.php File for Your Theme
Using a plugin is a fast and easy way to replace the footer credit on every page of your site. But it comes at the cost of the resources needed to scan every page that loads looking for the code and replacing it on the fly.
You can avoid that by editing the footer.php file for your theme to make the change. The process is a bit more involved, but it will save the resources used on every page load by plugins such as Remove Footer Credit.
Before We Proceed…
Never edit WordPress core or theme files without creating a child theme first.
Working in the child theme has a couple of advantages. First, if you break something, you can revert to the parent theme until you figure out what went wrong.
Second, and perhaps more importantly, when you make changes to a child theme, they will not be overwritten or erased when you update either your theme or WordPress itself.
Once you have created a child theme, mouse over the “Appearance” link and click the “Theme Editor” link.
Click the “Activate” button for your child theme.
Open up your FTP program or cPanel file editor and copy the footer.php file from your parent theme to your child theme.
In most FTP programs, you won’t be able to copy and paste files, in which case you’ll download footer.php from the parent theme and then upload it to the child theme.
So in my example here, I FTP’ed to:
downloaded footer.php, and then uploaded it to:
Now in your WordPress admin panel, mouse over the “Appearance” link and click the “Theme Editor” link.
Choose your child theme from the drop-down and click the “Select” button.
Now, as we did when using the plugin, look for
in the footer.php file. I’m using a child of the Twenty Nineteen theme, so we’re going to replace:
<?php $blog_info = get_bloginfo( 'name' ); ?> <?php if ( ! empty( $blog_info ) ) : ?> <a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>, <?php endif; ?> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentynineteen' ) ); ?>" class="imprint"> <?php /* translators: %s: WordPress. */ printf( __( 'Proudly powered by %s.', 'twentynineteen' ), 'WordPress' ); ?> </a>
Click the “Update File” button, and the footer credit link will be changed.
I used text here to simplify the demonstration, but you can replace the default footer credit with more than just text. The fact that you can use PHP in the footer makes some cool things possible. Like automatically showing the current year if you use a copyright notice.
To do that you can use something like:
<? $thisyear = date("Y"); print (" My blog ©$thisyear by me. "); ?>
Have you used other methods to change or remove the footer credits in your theme? Do you use a child theme when you make changes? Let me know in the comments.
Author: Michael Phillips
Michael Phillips is a web hosting industry veteran, helping people make the most of their web presence since 1995.