WordPress Login Page Logo – Add A Custom One – Replace WordPress Logo | WP Learning Lab



Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Download our exclusive 10-Point WP Hardening Checklist: http://bit.ly/10point-wordpress-hardening-checklist
WordPress Login Page Logo – Add A Custom One – Replace WordPress Logo | WP Learning Lab

function custom_login_logo() {
?(right pointy bracket)
(left pointy bracket)style type=”text/css”(right pointy bracket)
body.login div#login h1 a {
background-image: url(‘YOUR URL HERE’); //Add the URL of your custom logo between the single quotes
padding-bottom: 30px;
}
(left pointy bracket)/style(right pointy bracket)
(left pointy bracket)?php
} add_action( ‘login_enqueue_scripts’, ‘custom_login_logo’ );

YouTube won’t allow pointy brackets (shift + , and shift + .), so you’ll have to replace them in the code above.

In this tutorial you’re going to learn how to add a custom logo to your WordPress login page. By default there is a WordPress logo above the login box. But you can spruce up your WordPress login theme by changing the WordPress login image.

This WordPress customization is actually quite easy to do and I show you two ways to do it. One is through the WordPress admin dashboard. The other is through the File Manager in your hosting account cPanel.

First, customize your WordPress log in page through the WordPress dashboard. The first thing you’ll have to do is log into your WordPress site, then hover over Appearance in the left hand menu. In the flyout menu that appears click on Editor.

[If there is no Editor link then you’ll have to WordPress personalize login through the cPanel File Manager or FTP.]

Once you’re in the editor find the functions.php file of your theme. All files in the theme root are listed on the right hand side of the Editor. Click on functions.php to open it.

Paste the code from above into the functions.php file.

Then save the file. Take a look at your new WordPress log in page with the the change login logo. That’s all it takes to WordPress customize site.

To do this same thing via your hosting cPanel account, log into your hosting account. Click on the File Manager option and open the root of the website you want to work one.

Once the root folder opens double click on wp-content, then double click on themes. Next, double click on the folder of your active theme to open it.

Find the functions.php file, single click on it and click on the Edit button. That will open the file for editing.

Paste the code from above into the functions.php file.

Then save the file. And you’re all done. You now know how to change the WordPress login page.

Subscribe to this awesome channel here: http://www.youtube.com/subscription_center?add_user=wplearninglab

source

Reply

Do NOT follow this link or you will be banned from the site!