Removing the default credit line from the footer of the WordPress theme

Most WordPress users do not want to display “Proudly powered by WordPress” on the footer line. My first job 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, you need to find which class name is used for your theme’s ‘powered by’ line. Typically, you can find it in the theme footer, i.e. footer.php.

In the 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;
}

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

powerby-css
Screenshot of the additional CSS placement
Share this:

Comments

Leave a Reply

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