ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web»
  • Web Page & Web Site Development

Three ways to remove "Proudly powered by WordPress"

Updated on January 27, 2013
wordpress logo
wordpress logo | Source

If you want to remove or replace the message "Proudly powered by WordPress" from the bottom of a theme, for example TwentyTen, you can follow 3 procedures. I suggest you to work on a child theme created from the parent theme instead of hacking the original theme code. That's to avoid problems in case of updates from the original one.

1. Quick remove only

Log in your website as admin and go to: Appearance -> Editor and choose the file style.css.

Look for the text:

#site-generator {  
    font-style: italic;  
    position: relative;  

and replace it with:

#site-generator {  
    display: none;    

2. Quick replacement

Always from the Editor, now look for the file footer.php and the internal text:

 <div id="site-generator">  
     <?php do_action( 'twentyten_credits' ); ?>  
     <a href="<?php echo esc_url( __( '', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>" rel="generator">
         <?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?>

Well, you have different choices here: just remove text above from your footer.php or replace it with your customized text.

3. The best way

I have found a better solution in this post by a Wordpress lead developer: in this case create a file called functions.php for your child theme (you can put the same in the original theme code but as I already told you, working with a child theme is the best solution) like this:

 class Translation_Util {  
  function filter_gettext($translation, $text, $domain) {  
  $translations = &get_translations_for_domain( $domain );  
  if ( $text == 'Proudly powered by %s.' ) {  
   return $translations->translate( 'Proudly powered by %s and your-name-here.' );  
  return $translation;  
 add_filter('gettext', array('Translation_Util', 'filter_gettext'), 10, 4);  

gettext is one of a set of filters in the translation functions in wp-includes/l10n.php which also include gettext_with_context, ngettext, and ngettext_with_context.

Method Poll

What is your favourite method:

See results


    0 of 8192 characters used
    Post Comment

    No comments yet.