Removing default credit line from the footer of WordPress theme

Most WordPress users do not want to display “Proudly powered by WordPress” on the footer line.

As for me, my first job after each time I install a new WordPress site is to remove that line. There are many other ways to remove it, but my favourite method is to use the CSS class.

First of all, you need to find which class name is used for the ‘powered by’ line of your theme. Typically, you can find it in the theme footer, i.e. footer.php.

In the case of Twenty TwentyOne theme, the class name is “powered-by”. So I need to add the following CSS code to the theme.

.powered-by {
     display: none;
}

As you know, adding an additional CSS code is straightforward, and you don’t need to create a child theme if you’re lazy.

Screenshot of the additional CSS placement

Share this:

Leave a comment

Your email address will not be published. Non-standard characters in the comment form are not permitted and will be removed. Required fields are marked *