TechnoKida is Technology and Social Media Blog Platform. We write blog about Web Development Tutorial, Social Media and Trending Updates to help people who want learn Online.

How to make Customize Login Page in WordPress

In this article, You will know about How to change Login page, How to make Customize Login page in WordPress.

When you are going to http://yourwebsite.com/wp-login.php, It will show you default WordPress logo and Login form.



Customize Login Page

I will show you following customization in WordPress Login. These all things can be changed by using WordPress Plugins but why to increase website load via using plugin where we have solution to update few lines of codes in function.php
  1. Change the Logo
  2. Change the URL
  3. Change the Title

1. Change the Logo
We just have to change the path of the image file as we need.
open the function.php and update below code.

function custom_login_logo() { echo '<style type="text/css">h1 a { background: url('.get_bloginfo('template_directory').'/images/my-logo.png) 50% 50% no-repeat !important; }</style>'; } add_action('login_head', 'custom_login_logo');
2. Change the URL
To save your WordPress website from the hacker, You must have to change the URL of the website.
update below code into your function.php and it will change the path of admin login page.

function change_wp_login_url() {
return bloginfo('url');
}
add_filter('login_headerurl', 'change_wp_login_url');

3. Change the Title
Update the title of new updated image.

function change_wp_login_title() {
return get_option('blogname');
}
add_filter('login_headertitle', 'change_wp_login_title');


Let us know your views in comments and read our PHP/WordPress articles.

2 comments:

  1. You should have someone else bathe your pet because you don't want to have a reaction, but if they are clean then that can reduce the chances of you becoming allergic.satta king play bazaar

    ReplyDelete
  2. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!
    create a website

    ReplyDelete