Would you like to personalize the administrative area of WordPress by using your own logo? This tutorial will teach you how with a quick line of code!
STEP 1
First you need to create the logo you’d like to appear. Make sure the size is 32 x 32 pixels. Here is the one I created for my site:
STEP 2
Next, in the functions.php file within your theme folder, add the following code:
function custom_admin_logo() { echo ' '; } add_action('admin_head', 'custom_admin_logo'); |
Notice that the custom logo is located within an images folder. Define your path according to your setup. That’s it! The result should be the following: