How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?

There are 3 methods.

  1. Somewhat weird but since this text is internationalized you can filter the output. This is just an example to remove the text, the link is still present in the source.

    add_filter('gettext', 'remove_powered_by', 20, 3);
    
    function remove_powered_by( $translated_text, $untranslated_text, $domain ) {
    
        $custom_field_text="Proudly powered by %s";
    
        if ( !is_admin() && $untranslated_text === $custom_field_text ) {
            return '';
        }
    
        return $translated_text;
    }
    
  2. Use jQuery (or javascript)

    $('#site-generator').remove();

  3. Create a child theme and just comment out the code or delete it.

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş