On every website I build including my own, I use the code below to white label WordPress. Why would you white label WordPress? Because it’s those little details that make a big difference in your finished product. Not to mention that while your client is inside of WordPress they will see your brand name and know who to contact should they need further assistance.
Who Is This Code For?
If you’re in the business of building WordPress websites you might want to white label WordPress before delivering it to your client. In this WordPress tutorial 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.
Now, I use a functionality plugin and host the update portion on my own website. I simply install the plugin on every client website and when I need to make an update I do so and the client website gets the same plugin update notification like all the other plugins.
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.
So that’s what I use to white label WordPress before delivering my final product to the client. How about you? Do you do something similar or are you using a plugin that does this and more?
The article How to White Label WordPress appeared first on RickRDuncan.com. It was published on and was last updated .