Removing footer text from WordPress TwentyEleven theme

Removing footer text from WordPress TwentyEleven theme

TwentyEleven theme is default theme of WordPress 3.2.Along with TwentyEleven theme WordPress 3.2 comes with TwentyTen 1.2 theme.TwentyEleven adds a new dimension to WordPress theme.Everyone running blogs on WordPress can use this theme.The best part is that the theme is compatible with all plugins like Twentyten theme.
The TwentyEleven theme can be easily customized.Bloggers tend to remove the footer text from WordPress TwentyEleven theme.The footer text displays that the website is using TwentyEleven theme and is powered by WordPress.
To remove the footer text follow below steps
  • Go to the WordPress installation directory (log into your Cpanel account and then using File Manager navigate to directory in which WordPress is installed).
  • Open the directory wp-contents/themes/twentyeleven in Cpanel file explorer or another tool provided by your hosting company.
  • Open the file footer.php in Code editor of Cpanel or any text editor.
  • If you have trouble using Cpanel then you can also open footer.php file from WordPress dashboard.Log into WordPress administrator area.Go to Appearance –> Editor from dashboard.You will see list of files on right hand side.click on footer.php file.This will open the file in edit mode.Make the changes as shown in below and update the file to save changes.The choice of method depends on you.
  •  Comment the div block with id site-generator.The original code and modified code is presented towards the end of the post for your reference.The only change is <!– at start of the div block and –> at end of the div block.These two things needs to be added only.
  • Browse your WordPress site in any web browser.The footer text is removed.
Original Code –
1<div id="site-generator">
2                <?php do_action( 'twentyeleven_credits' ); ?>
3                <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a></div>
Modified Code –
1<!--
2<div id="site-generator">
3                <?php do_action( 'twentyeleven_credits' ); ?>
4                <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a></div>
5 -->

No comments:

Post a Comment