Remove Proudly Powered by Wordpress

Page content

Twenty seventeen is among the most popular themes in the wordpress theme repository. The theme is well designed, very fast and also flexible and attractive so that it can be used for making several kinds of websites.

However, when you install the Twenty seventeen theme, its default copyright message includes ‘powered by wordpress’. When you are planning to use it for your website, you will want to remove the message so you can substitute it with your own customized copyright message.

Twenty seventeen is a simple theme yet fast and well coded and its flexibility and simplicity are the main reasons behind its popularity. You can customize the theme as per your need to include an extra widget in the header as well as add a static sidebar. You can do most of these changes easily with some css and a little bit of code editing.

There are two methods to remove the powered by wordpress text from the footer theme. In the first method you only remove the text and let the copyright sign and the year remain there. When using the second method, you change the entire message and include your own copyright message in the footer.

If you have never edited the functions.php file or any other theme file, you can first create a child theme to make the edits in. Otherwise, you can proceed to edit the theme files if you know how to edit the file.

Using the first method requires removing just one line of code from the footer.php file which will remove the powered by wordpress text from the footer.

First of all, open the footer.php file using the theme editor. Go to the wordpress dashboard and then to themes and then theme file editor. Open the footer.php file and now scroll towards the bottom where you will find the following piece of code under the code for social navigation.

get_template_part( 'template-parts/footer/site', 'info' );
?>

Now, remove the above piece of code which you might find in lines 42 or 43 of the footer.php file. This will leave only the copyright sign and year in the footer. If that’s all you want to change then you can stop here. Otherwise, you can use the second method to edit the copyright message and replace it with your own customized one.

The second method does not require making any changes to the footer.php file. However, using the second method you can add your website link and privacy links in the footer apart from the copyright sign and current year.

The entire copyright message in the footer can be edited by making changes inside the siteinfo.php file which is mainly responsible for generating the footer message and can be found in the templates section of the theme files.

In the theme file editor, expand the templates sections from the theme files in the right sidebar. From the templates section, please expand the footer section. This section includes two files which are footer-widgets.php and site-info.php. Open the site-info.php file for editing. If you are making the changes inside a child theme, then fine. Otherwise, you can save the contents of this file before proceeding.

The site info.php file has almost 20-22 lines of code only. It is a small file whose contents look like the following:

<?php/** * Displays footer site info * * @package WordPress * @subpackage Twenty_Seventeen * @since Twenty Seventeen 1.0 * @version 1.0 */?>
<div class="site-info"> 
<?php if ( function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); } ?> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyseventeen' ) ); ?>" class="imprint"> 
<?php /* translators: %s: WordPress */ printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?> </a>
</div><!-- .site-info →

You will find the theme name and the proudly powered by text near the bottom of this file. The text inside the div element includes all the code responsible for outputting the full copyright text in the footer. We need to remove this entire code inside the site-info div and replace it with our own copyright code to display a custom copyright message. Please remove everything that is enclosed inside the div.

<div class="site-info"> 

..Remove the text lying here between the opening and closing divs.
</div><!-- .site-info →

Now, replace the code with the following piece of code which includes site url and the privacy policy url. If you do not want the privacy policy url included in the copyright message, please remove that part from the code.

© 2023 | <a href="https://www.example.com" class="imprint">Website Name </a> |<a href="https://www.example.com/privacy-policy/">Privacy-Policy</a>

After replacing the code, you will see that the site-info.php file is a lot smaller and the entire file looks like the following:

<?php
/** * Displays footer site info * * @package WordPress * @subpackage Twenty_Seventeen * @since Twenty Seventeen 1.0 * @version 1.0 */?><div class="site-info"> © 2023 |<a href="https://www.example.com" class="imprint">Website Name </a> | <a href="https://www.example.com/privacy-policy/">Privacy-Policy</a> </div>
<!-- .site-info -->

While making the changes, we also removed three php calls, which can be good for site speed. The less the php calls, the faster your wordpress site loads. Once you are done, click on save changes and then go to the front end of your website to check out. Do not forget to clear the cache.

Now, you will see that the ‘proudly powered by wordpress’ text has been replaced with your own custom copyright message including site url and privacy policy url in it.

Remove Proudly powered by Wordpress from Twenty Nineteen Theme

The Twenty Nineteen Theme also includes copyright message at the bottom left side. This message includes the powered by Wordpress text inside the copyright message. However, you can keep the blog name and discard the ‘powered by Wordpress’ part.

In this case also, you will need to manually edit the footer.php file to get the desired output.

Go to the Wordpress dashboard and open the theme editor. Now, open the footer.php file and look for the following piece of code (check line 25):

<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentynineteen' ) ); ?>" class="imprint">
				<?php
				/* translators: %s: WordPress. */
				printf( __( 'Proudly powered by %s.', 'twentynineteen' ), 'WordPress' );
				?>
			</a>

This will remove the proudly powered by Wordpress text from the copyright message. However, you do not want your copyrihght message to look like that since it will leave behind the site name followed by a comma. To edit that and output the blog name followed by the current year without the comma in between, you will need to make some more changes to the footer.php code.

The following piece of code appears just before the code we just removed:

<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>,

Mark the comma at the end in the above code. Remove the comma and insert the following piece of code there:

<?php $year = date("Y"); echo $year; ?>

The above code is a simple php code that outputs the current year for the copyright message. For your convenience, I will provide the entire footer.php code, which you can copy to your footer.php file if you like.

<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 * @since Twenty Nineteen 1.0
 */

?>

	</div><!-- #content -->

	<footer id="colophon" class="site-footer">
		<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
		<div class="site-info">
			<?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 $year = date("Y"); echo $year; ?>
			<?php endif; ?>
			
			<?php
			if ( function_exists( 'the_privacy_policy_link' ) ) {
				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
			}
			?>
			<?php if ( has_nav_menu( 'footer' ) ) : ?>
				<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'twentynineteen' ); ?>">
					<?php
					wp_nav_menu(
						array(
							'theme_location' => 'footer',
							'menu_class'     => 'footer-menu',
							'depth'          => 1,
						)
					);
					?>
				</nav><!-- .footer-navigation -->
			<?php endif; ?>
		</div><!-- .site-info -->
	</footer><!-- #colophon -->

</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>

There are just a few lines of code to be altered to get the right output. After changing the code, your copyright message at the bottom in the twenty nineteen theme will looke like : My Blog 2023.

This is how you can change the copyright message in twenty nineteen Wordpress theme without using any plugin.

Removing the ‘Proudly Powered by Wordpress’ Footer Credits from the Twenty Twenty Theme is even easier. It just rquires removing a small piece of code from the footer.php file.

The Twenty Twenty Theme outputs the year and blog title for the copyrigth followed by the ‘powered by Wordpress message’. You will onyl need to remove the part of the code from the the footer.php that outputs the powered by Wordpress part. To do that head over to the theme editor in the dashboard and open the theme files for editing.

Alternatively, you can make these changes using SFTP. You can go to WP-Content and theme folder via SFTP and then open the twenty twenty theme files and edit the footer.php file.

Either way, open the footer.php file for editing and then find the following piece of code and remove it:

	<p class="powered-by-wordpress">
							<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwenty' ) ); ?>">
								<?php _e( 'Powered by WordPress', 'twentytwenty' ); ?>

Once done, save the footer.php file. If you used SFTP for editing, save and upload the footer.php file and check your blog’s front end. Now, the powered by Wordpress message would have vanished.

Twenty Twenty is a popular wordpress theme that can be customized for use with several types of websites including blogs, business websites, educational websites, portfolio and other types of websites.

Remove Proudly Powered by Wordpress from Twenty Twenty Three theme

Twenty Twenty Three is a fast block theme by Wordpress. However, since it is a block theme, it is not possible to edit its files the way you can easily edit the other themes containing php files. The theme editor allows you to edit the various blocks that the website is made of. Despite that, you can easily remove the powered by Wordpress message that appaears in the footer to the right using editor.

Go to Wordpress dashboard and then to appearance and themes click on edit. Here, you will find the block editor open, which allows you to edit various templates like the template for home page of single posts. You will need

In the left sidebar, click on templates and then on single posts. Now, click on the website area to expand it for editing. Scroll down to the footer and then edit the footer block. Each block in the page can be edited separately. You will just need to click on the powered by Wordpress message and then delete it and then save the changes. Once you have saved the changes, try loading the front end of your website and then check the footer. The powered by Wordpress message would be gone.

You can edit and change the footer -powered by wordpress- message in other block based Wordpress themes also in the same manner.

SUGGESTED READING

  1. Sitemap for Your Wordpress Blog

  2. Manage Wordpress SEO with SEOpress

  3. A Wordpress Guide for Beginners

  4. Submit Your Website to Google Search Console

  5. How to Add New Users in Wordpress

  6. How to Start a New Blog in Wordpress