Adding a custom Wordpress footer on the admin dashboard
Learn how to remove the default WordPress footer on the admin dashboard and replace it with your custom text. This article shows you how to get your customised footer for the WordPress admin dashboard using a Theme editor plugin.
A customized footer text instead of the out-of-box WordPress branded text will help users better identify or relate to the site with the brand. This article shows you how to add a custom footer to your WordPress admin dashboard using a Theme Editor plugin.
Displaying custom footer text on the WordPress dashboard
Important
Always perform a backup before making changes to the theme files. If you break any codes, it will be easier to revert your site to its last good known state. Alternatively, you could also create a child theme. Read this link on how to create a child theme: https://www.hosting.com/blog/wordpress-child-theme/
To display custom footer text, follow these steps:
-
Log in to your WordPress site with an administrator account.
-
On the Dashboard in the left sidebar, click Appearance, and then click Theme Editor:
Tip
This article shows you how to edit the functions.php using the Theme Editor plugin. You can always edit the the functions.php using the default editor under the
Appearance menu.
-
On the Theme Editor page, a list of all the files related to your theme appears on the right column under Theme Files:
-
Click functions.php, and then scroll down to the end of the page. For the purposes of this article we will add a custom tag with custom text about hosting.com on the footer using the following code:
function custom_admin_footer_text ()
{ echo 'Hosting.com - Low Cost Hosting For <a href="https://hosting.com/hosting/platforms/wordpress-hosting">WordPress</a Websites'; }
add_filter('admin_footer_text', 'custom_admin_footer_text');
- Click Update File to save the changes. The custom text appears on the Dashboard admin footer:
More Information
For more information about the Theme Editor plugin please visit https://wordpress.org/plugins/theme-editor.
Related Articles
Updated 3 days ago