On every website I build including my own, I white label WordPress using the free & lightweight plugin I developed named EZ White Label WordPress. There are numerous reasons why you would want to white label WordPress.
- Look more professional
- Fully brand the back-end of WordPress
- Add your contact info into the admin dashboard
- Include help documents and/or video content
- Much more…
Below, are two options for white labeling WordPress. You can download the code directly from GitHub using this link. Or you can skip to the tutorial section of this page to learn about the code that makes white labeling WordPress possible.
- Custom login logo
- Custom WordPress logo URL
- Tighter security on the login page
- Customized admin footer
- Custom contact widget in main admin dashboard
- Go to GitHub and download plugin
- Go to your WordPress website admin panel
- Select Plugins > Add New > Upload Plugin
- Select Browse > locate on your computer the file “ez-white-label-master.zip” > Click Open > Install Now
- Click Activate Plugin
Who Is This Code For?
If you’re in the business of building WordPress websites you should consider white labeling WordPress before delivering the code to your client. In the code below I’m going to cover 7 WordPress functions that you can use to brand/white label WordPress in order to provide a more polished look to your theme.
Learn From My Experience
I used to include all of this code into the child theme’s functions.php file. Then as luck would have it, WordPress made some dashboard changes in version 3.8 which broke portions of the code. I then had to go to multiple websites and make the fix. Use the plugin mentioned above, but keep reading the tutorial to become familiar with the code and to learn where you will need to make the customizations to make it yours.
1. How to Change the WordPress Login Logo
One of the coolest features when it comes to white labeling WordPress is the ability to customize the login screen.
In my example below I create an image sized 311px wide by 100px tall. I named the image login.png then uploaded it into my theme’s images folder. Next you simply copy the code below and paste it into your theme’s functions.php file to change the WordPress login logo.
2. How to Change WordPress Logo URL
Once you change the WordPress login logo you’ll also want to change the URL that you go to should you click on the logo. By default, the logo will send you to wordpress.org. In the code snippet below, you’ll now be sent to the homepage of your own website. Learn more about get_bloginfo() at Codex.
3. How to Change WordPress Logo Hover Text
To change the text “Powered by WordPress” when you hover over the login logo you can copy the code below and place it into your theme’s functions.php file to make it happen.
4. How to Cure the Forgetfulness of WordPress
Raise your hand if you get annoyed that WordPress will not keep the check mark in the ‘remember me’ check box. The code snippet below will keep it checked.
5. Keeping WordPress Login Credentials Vague
By default when you login incorrectly, WordPress tells you which piece of information is incorrect. Now a hacker knows 50% of the information needed to get into your WordPress account. Stop that from happening by pasting the code below into your theme’s functions.php file.
OK. I realize that item #5 wasn’t really a function for white labeling WordPress, but I thought it to be a relevant function that should be included when branding a WordPress website for clients.
6. Modify the Admin Footer
The text that reads ‘Thank you for creating with WordPress’ can also be customized. Again, simply grab the code below and paste it into your theme’s functions.php file.
7. Custom Widget in Admin Dashboard
Once you deliver your finished product it’s nice when the user can log into WordPress and see your contact information in case they need to get in touch with you.