Knowledgebase

How to remove "Proudly powered by WordPress" from the footer in WordPress

In the footer of your WordPress site there's some default text that comes with the theme. With the default themes that come prepackaged with WordPress (e.g. Twenty Ten, Twenty, Eleven, Twenty Twelve, etc.) this default text is Proudly powered by WordPress. Third party themes may have a different text in the footer (e.g. the name of the designer of the theme).

In any case if you want to delete the text displayed in the footer, you can do it by modifying the footer.php file of the theme. You just need to comment out (or delete) some code in the file. The exact string of code also depends on the theme. The following example is taken from the theme Twenty Twelve:

<div class="site-info">
<?php do_action( 'twentytwelve_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" 
title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>">
<?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
</div>

The footer.php file itself is located in the folder of your theme. If the application is installed directly in the public_html folder on your WordPress hosting account, the path to the file will be public_html/wp-content/themes/name-of-your-theme/footer.php. To comment out the code put an exclamation mark and two hyphens after the first bracket (e.g. <!--div class) and two hyphens before the last bracket (e.g. /div-->). You can edit the file from the Files section of the Pixie control panel. Another way to do it is to download the file on your local computer using an FTP client, then edit it with a text editor (e.g. Notepad, Wordpad) and upload it back overwriting the old file.

As we mentioned, the code that you have to comment out may be different depending on the theme. Just look for the footer text whatever it is and comment out the <div> tags within which the text is located in the footer.php file. In the above example the div class is site-info, but with some themes it may be something like site-generator, theme-credits, site-foot, etc.

Keep in mind that the modification will be lost when you upgrade the theme. In case you use the default theme that comes with WordPress this will also happen when you upgrade the whole application. For more information on how to avoid this check out the tutorial on keeping modifications to your themes in WordPress.

Was this answer helpful?

 Print this Article

Also Read