To remove the WordPress icon (often the “Powered by WordPress” text or the WordPress logo) from your website, you’ll need to address it depending on how and where it’s being displayed. Here are some common methods:
1. Remove “Powered by WordPress” Text
Using a Theme Customizer:
- Log in to your WordPress admin dashboard.
- Go to Appearance > Customize.
- Look for options like Site Identity, Footer, or Additional CSS. Some themes allow you to toggle off the “Powered by WordPress” text directly from the customizer.
- If you don’t find an option, you can add custom CSS.
Using Custom CSS:
- Go to Appearance > Customize > Additional CSS.
- Add the following CSS code:
.site-info {
display: none;
}
Replace
.site-info
with the correct class or ID if necessary (you might need to inspect the element using your browser’s developer tools to find the correct selector).
Editing Theme Files:
- Go to Appearance > Theme Editor.
- Find the
footer.php
file (it might also be located in a different file depending on your theme). - Look for code that generates the “Powered by WordPress” text. It might look like this:
<p>printf( __('Powered by %s', 'your-theme-textdomain'), 'WordPress' ); </p>
- Remove or comment out the code responsible for displaying this text.
- Save the changes.
Note: Directly editing theme files is risky. It’s better to use a child theme for modifications to avoid losing changes during theme updates.
2. Remove WordPress Logo in the Admin Bar
If you want to remove the WordPress logo from the admin bar visible to logged-in users:
Using Custom Code:
- Add the following code to your theme’s
functions.php
file or a site-specific plugin:add_action('wp_before_admin_bar_render', 'remove_wordpress_logo');
function remove_wordpress_logo() {
global $wp_admin_bar;
$wp_admin_bar->remove_node('wp-logo');
}
3. Removing WordPress Icons in the Head
If you want to remove WordPress-related icons from the <head>
section of your site:
Using Custom Code:
- Add the following code to your theme’s
functions.php
file:remove_action('wp_head', 'wp_generator');
This removes the WordPress version number from the HTML source, which is sometimes represented as an icon or meta tag.
4. Plugins for Customization
There are plugins available that offer more granular control over various aspects of your WordPress site, including the footer text and branding:
- Remove Footer Credit: Allows you to remove or change the footer credit text.
- WP Hide & Security Enhancer: Offers more comprehensive options for hiding WordPress footprints.
Always remember to back up your site before making significant changes, especially when editing theme files directly.