Key Takeaways
WordPress themes often display āPowered by WordPressā in the footer. Theme authors may provide options to remove or change this text, but custom CSS or PHP editing can also achieve this.
Custom CSS can hide footer content easily. Identifying the footer class or ID allows for targeted removal or replacement of text.
Editing PHP files can completely remove or replace footer content. Using a child theme is recommended to prevent errors during theme updates.
Consider using a child theme for safe PHP file edits. This ensures changes persist through theme updates and prevents site crashes.
Managed hosting with WP Engine offers resources for WordPress development. Explore their plans for optimized performance and developer support.
WordPress is a fantastic content management system (CMS). But that doesnāt necessarily mean that you want to advertise the fact you use it to build and maintain your site. By default, most WordPress themes use the footer area to display something along the lines of āPowered by WordPress.ā Many theme developers also add their own (or their themeās) details such as āPowered by WordPress, theme designed by XYZā or āPowered by WordPress running the ABC theme.ā
So with this in mind, how do you go about removing, or perhaps changing, that pesky footer content? As with all things WordPress, there are a number of ways.
The theme route
Some theme authors have taken on board the fact that you might want to change or remove the footer content. As a result, your existing theme might have an option to switch it off, or an area within the theme dashboard to update it to something more fitting (such as copyright information). If your theme does support this, it will usually be an easy-to-find option, so check your theme documentation or ask the authors.
The CSS route
If your theme doesnāt have a specific option for removing or changing the footer text, you can easily remove it using custom CSS, though it is harder in this instance to replace it with different content. Again, many themes offer an easy to find custom CSS panel where youāll be able to add your code.
If you view the source or code view of the live site, youāll be able to find the class or id attributed to the footer content ā in the default ātwenty fifteenā theme for example, the āPowered by WordPressā footer is contained within a DIV with the class of āsite-info.ā A quick line of CSS ā in this case, inserting #site-info {display:none} in the backend will hide the footer from the front end.
The PHP route
If youāre happy to jump into the PHP files powering your site, head to the editor and youāll find the footer content (perhaps unsurprisingly) within footer.php. Using this method, you can either remove the footer entirely or overwrite it with contents of your choice. You can use HTML links and/or assign CSS classes to your content to make it easy to apply styles at a later point⦠but personally Iād recommend a simple ālike for likeā replacement of text. It might also be worth taking a copy of the footer.php file and saving it elsewhere as a backup ā you can simply highlight all the text and copy/paste it into an empty notepad document on your desktop. That way, youāre backed up in case something does go wrong.
Remember, when editing the core PHP files, itās recommended to use a child theme to avoid any errors crashing your site, and to ensure your changes are carried forward in future updates to the theme. If you choose not to use a child theme, youāll have to remember to make the same changes again after theme updates.
There you have it! A few easy ways to remove (or replace!) that WordPress footer.
Managed hosting for WordPress with WP Engine
Here at WP Engine, we believe in the power of open-source development. Thatās why we work to provide the best developer resources and hosting for WordPress sites.
Check out our plans for your next project!