Change the Footer in Your WordPress Admin Panel: A Comprehensive Guide
The WordPress admin panel is the nerve center of your website—where you create content, manage settings, and oversee site operations. By default, its footer displays two key elements:
- "Thank you for creating with WordPress" (a text link to WordPress.org).
- "Version X.X.X" (the current WordPress version, e.g., "Version 6.4").
While these are harmless, many site owners and developers want to customize the admin footer for reasons like:
- Branding: Align the admin panel with your business or client’s brand by adding a custom message (e.g., "Managed by Acme Corp").
- Professionalism: Remove generic "WordPress" references for client sites to present a polished, white-label experience.
- Utility: Add useful links (e.g., support resources, internal docs) or dynamic info (e.g., "Last updated: [date]").
- Clarity: Simplify the footer by removing unnecessary elements (like the version number) to reduce clutter.
In this guide, we’ll explore four detailed methods to modify the WordPress admin footer, ranging from beginner-friendly plugins to developer-focused code snippets. Whether you’re a non-technical user or an experienced developer, you’ll find a solution that fits your needs.
Table of Contents#
- Understanding the WordPress Admin Footer
- Method 1: Using the Theme’s
functions.phpFile (Code) - Method 2: Creating a Custom Plugin (Code, Theme-Independent)
- Method 3: Using a Dedicated Plugin (No-Code)
- Advanced Customization: Beyond Text
- 5.1 Adding HTML or Links
- 5.2 Removing the Version Number
- 5.3 Dynamic Content (e.g., User-Specific Messages)
- Troubleshooting Common Issues
- Best Practices for Admin Footer Customization
- References
Understanding the WordPress Admin Footer#
Before diving into customization, let’s clarify what we’re modifying. The WordPress admin footer has two core components controlled by filters (hooks that let you modify content):
| Component | Filter Name | Default Content Example |
|---|---|---|
| Main footer text | admin_footer_text | "Thank you for creating with WordPress." |
| Version number/secondary text | update_footer | "Version 6.4" |
These filters are applied globally across all admin pages. To customize the footer, we’ll either:
- Override these filters with custom code (Methods 1–2), or
- Use a plugin that modifies them via a user interface (Method 3).
Method 1: Using the Theme’s functions.php File (Code)#
If you’re comfortable editing theme files, the quickest way to customize the admin footer is by adding code to your child theme’s functions.php file. Always use a child theme to avoid losing changes when your parent theme updates. If you don’t have a child theme, create one first.
Step 1: Access functions.php#
- Log in to your WordPress admin panel (
yoursite.com/wp-admin). - Navigate to Appearance → Theme File Editor.
- In the right sidebar, select your child theme (e.g., "Twenty Twenty-Three Child").
- Click
functions.phpto open it for editing.
Step 2: Add Code to Customize the Footer#
Use the admin_footer_text filter to modify the main text and update_footer to modify the version line. Below are common use cases:
Example 1: Replace the "Thank you for creating with WordPress" Text#
To replace the default text with a custom message (e.g., your brand name):
// Customize admin footer text
function custom_admin_footer_text() {
return 'Managed by <strong>Acme Web Studio</strong>. Need help? <a href="https://acme.com/support" target="_blank">Contact Support</a>.';
}
add_filter('admin_footer_text', 'custom_admin_footer_text');What this does:
custom_admin_footer_text(): A custom function that returns your new footer text.add_filter('admin_footer_text', 'custom_admin_footer_text'): Hooks your function to theadmin_footer_textfilter, replacing the default text.- You can use HTML (e.g.,
<strong>,<a>) for formatting or links.
Example 2: Remove the Footer Text Entirely#
To hide the "Thank you..." text (leave the footer blank):
// Remove admin footer text
function remove_admin_footer_text() {
return ''; // Empty string removes the text
}
add_filter('admin_footer_text', 'remove_admin_footer_text');Example 3: Modify or Remove the Version Number#
The update_footer filter controls the version line (e.g., "Version 6.4"). Use it to replace, remove, or repurpose this space:
// Replace version number with custom text
function custom_update_footer() {
return 'Powered by WordPress | Updated: 2024'; // Custom text
}
add_filter('update_footer', 'custom_update_footer', 11); // Priority 11 ensures it overrides defaultsTo remove the version line entirely:
// Remove version number from admin footer
function remove_update_footer() {
return '';
}
add_filter('update_footer', 'remove_update_footer', 11);Step 3: Save Your Changes#
Click Update File to save the modified functions.php. Visit any admin page (e.g., Dashboard) to see your new footer.
Note: If you switch themes, changes in functions.php will only apply to the active child theme. For theme-independent customization, use Method 2.
Method 2: Creating a Custom Plugin (Code, Theme-Independent)#
For a theme-agnostic solution (changes persist even if you switch themes), create a simple custom plugin. This is ideal for developers or users managing multiple sites.
Step 1: Create the Plugin File#
- Connect to your site via FTP (e.g., using FileZilla) or cPanel’s File Manager.
- Navigate to
/wp-content/plugins/. - Create a new folder (e.g.,
custom-admin-footer). - Inside the folder, create a new file named
custom-admin-footer.php.
Step 2: Add Plugin Code#
Open custom-admin-footer.php and paste the following code. This includes a plugin header (required for WordPress to recognize it) and the same footer filters as Method 1.
<?php
/*
Plugin Name: Custom Admin Footer
Plugin URI: https://yoursite.com/
Description: Customizes the WordPress admin panel footer text and version line.
Version: 1.0
Author: Your Name
Author URI: https://yoursite.com/
License: GPL2
*/
// Customize main admin footer text
function caf_custom_admin_footer_text() {
return '© ' . date('Y') . ' Your Brand. All rights reserved.'; // Dynamic year + brand
}
add_filter('admin_footer_text', 'caf_custom_admin_footer_text');
// Customize version line (update_footer)
function caf_custom_update_footer() {
return 'Admin panel customized by <a href="https://yoursite.com" target="_blank">Your Name</a>';
}
add_filter('update_footer', 'caf_custom_update_footer', 11);Customization Tips:
- Replace
'© ' . date('Y') . ' Your Brand...'with your desired text. Usedate('Y')to auto-update the year. - Add HTML (e.g.,
<a>,<strong>) for links or formatting.
Step 3: Activate the Plugin#
- In your WordPress admin, go to Plugins → Installed Plugins.
- Find "Custom Admin Footer" and click Activate.
Your admin footer will now reflect your custom text, regardless of the active theme.
Method 3: Using a Dedicated Plugin (No-Code)#
If you prefer not to edit code, use a plugin to customize the admin footer via a user-friendly interface. We’ll use Admin Customizer (free, 100,000+ active installs) as an example.
Step 1: Install Admin Customizer#
- Go to Plugins → Add New.
- Search for "Admin Customizer" (by Najeeb Ahmad).
- Click Install Now, then Activate.
Step 2: Customize the Footer#
-
Navigate to Settings → Admin Customizer.
-
In the left sidebar, click Footer.
You’ll see two fields:
- Admin Footer Text: Modifies the "Thank you for creating with WordPress" line.
- Update Footer Text: Modifies the version number line (e.g., "Version 6.4").
-
Enter your custom text in these fields. For example:
- Admin Footer Text:
Managed by Acme Corp | <a href="/wp-admin/support">Support</a> - Update Footer Text:
Last updated: Jan 2024
- Admin Footer Text:
-
Scroll to the bottom and click Save Changes.
Step 4: Verify the Changes#
Visit any admin page (e.g., Dashboard → Home) to see your new footer.
Alternatives to Admin Customizer:#
- White Label CMS (paid): Offers advanced branding (logo, colors, footer) for client sites.
- Custom Admin Branding (free): Lightweight plugin focused on admin text/customization.
Advanced Customization: Beyond Text#
Once you’ve mastered basic text changes, explore these advanced tweaks to make the admin footer more functional or unique.
5.1 Adding HTML or Links#
Both code methods (Methods 1–2) support HTML, so you can add links, line breaks, or styling. For example:
// Add a support link and line break
function custom_admin_footer_with_links() {
return 'Need help? <a href="https://yoursite.com/support" target="_blank">Contact Support</a><br>© ' . date('Y') . ' Your Brand';
}
add_filter('admin_footer_text', 'custom_admin_footer_with_links');Note: Avoid complex HTML (e.g., <div> or <script>) as it may break the admin layout. Stick to inline elements like <a>, <strong>, or <br>.
5.2 Removing the Version Number#
The update_footer filter can also remove the version line entirely (useful for security, as hiding the WordPress version makes it harder for attackers to exploit known vulnerabilities):
// Remove version number from admin footer
function remove_admin_version_footer() {
return ''; // Empty string hides the line
}
add_filter('update_footer', 'remove_admin_version_footer', 11);5.3 Dynamic Content (e.g., User-Specific Messages)#
Use WordPress functions to add dynamic content, like greeting the current user or showing their role:
// Show current user's name in the footer
function dynamic_admin_footer_text() {
$current_user = wp_get_current_user();
return 'Welcome, ' . $current_user->display_name . '! | <a href="/wp-admin/profile.php">Edit Profile</a>';
}
add_filter('admin_footer_text', 'dynamic_admin_footer_text');Other dynamic ideas:
- Show the current site name:
get_bloginfo('name') - Display the server time:
date('h:i A')
5.4 Styling the Footer with CSS#
To change the footer’s appearance (e.g., font size, color), add custom CSS to the admin panel. Use the admin_enqueue_scripts action to load your styles:
// Add custom CSS to admin footer
function custom_admin_footer_css() {
echo '<style>
#wpfooter #footer-left { font-size: 14px; color: #2c3338; } /* Main text */
#wpfooter #footer-upgrade { color: #64748b; } /* Version line */
</style>';
}
add_action('admin_head', 'custom_admin_footer_css');This targets the footer’s HTML elements (#footer-left for the main text, #footer-upgrade for the version line).
Troubleshooting Common Issues#
If your footer changes aren’t showing up, try these fixes:
Changes Not Appearing?#
- Clear your browser cache: Press
Ctrl+Shift+R(Windows/Linux) orCmd+Shift+R(Mac) to hard-refresh. - Check for plugin conflicts: Deactivate other admin customization plugins (e.g., White Label CMS) to see if they’re overriding your changes.
- Verify code syntax: A missing
;or}infunctions.phpor your plugin can break the code. Use a PHP linter to validate.
White Screen of Death (WSOD)?#
If your site crashes after editing functions.php, undo the changes via FTP/cPanel. Always back up functions.php before editing!
Footer Text Reverts After Theme Update?#
You likely edited the parent theme’s functions.php instead of a child theme. Move your code to a child theme or custom plugin (Method 2).
Best Practices for Admin Footer Customization#
- Keep it simple: Avoid overcrowding the footer with text. Focus on 1–2 key messages (e.g., brand + support link).
- Test on staging first: If you’re working on a live site, test changes on a staging environment (e.g., using WP Staging) to avoid downtime.
- Use child themes/plugins: Never edit parent theme files directly. Child themes or custom plugins ensure changes survive updates.
- Respect WordPress licenses: While you can remove "WordPress" references, ensure your customizations comply with the GPL license.
References#
- WordPress Codex:
admin_footer_textFilter - WordPress Codex:
update_footerFilter - Child Themes Guide
- Admin Customizer Plugin
- White Label CMS Plugin
By following this guide, you can transform the default WordPress admin footer into a branded, functional, or professional element that aligns with your needs. Whether you use a plugin or code, the admin panel will feel more personalized and purposeful.