WordPress Login Page Ko Customize Kaise Kare Without Plugin

WordPress Login Page Ko Customize Kaise Kare Without Plugin

Hello friends, this post is for people who want to customize their wordpress login page. In this, we are going to tell you how to design the login page without using any plugin. So let's read this post.
wordpress login page ko customize kaise kare
As we all know that wordpress allows full access to its users. In such a situation, you can customize the wordpress site any way you want. If you know coding then you can build a high level website by using wordpress as CMS.
For those whose blogs work with multiple authors, it is very important to customize their login page. Because by default the design of our site's login page is much simpler. If you customize them, it will be better.
If you visit your blog's login page daily, then after some time you will find its design boring. We keep changing the theme of our blog regularly. But very few people know that we can also customize our login page.
You can customize the login page of your blog without any plugin from the very hack. For this, you can take help of some codes. You do not have to install any kind of plugin in your blog. So, today we are going to tell you about this.
Table of Contents
As you all know that we will not use any plugin for this. So before proceeding, make sure to backup your blog. If you trouble the new user code then errors will start coming. Follow them carefully.

If you want to change the logo of your login page, for this you have to add a simple code to your theme's functions.php. Let's know about this.
1. First of all by login to the blog Media >> Add New Go and upload your logo and copy its URL.
2. Now you have to copy the code given below.
function blhi_login_logo () {
echo '';
}
add_action ('login_head', 'blhi_login_logo');
In this code you https://www.blogginghindi.com/wp-content/themes/blhi/login/mylogo.png In place of, you have to replace the URL of your logo.
3. Now login to your blog Dashboard >> Appearance >> Editor By going to functions.php I have to add the code copied above and Save changes To do it. Now you can see here that its logo has changed.
add logo in login page without plugin

2: Change Logo URL

In the login page of the WordPress blog, the logo contains a link to the wordpress site. That is, when you click on this logo, you will go to the wordpress site. If you want to change it, then for this you follow simple steps.
For this, after logging into the blog Appearance >> Editor By going to functions.php Open it After that add the code below.
function blhi_login_url () {
return 'https://www.blogginghindi.com';
}
add_filter ('login_headerurl', 'blhi_login_url');
In this code https://www.blogginghindi.com Add the URL of your site in place of.

3: Change Login Page Background

If you want to change the background of your login page and add an image to it, then you can follow the simple steps given below. If you want, you can also set a color in the background of the image. Let's know about this.
1. First of all Media >> Add new Go to and upload your background image. After that copy the URL.
2. Now copy the code given below.
function blhi_bg_login_logo () {
echo '';
}
add_action ('login_head', 'blhi_bg_login_logo');
In this code https://www.blogginghindi.com/wp-content/themes/blhi/login/background.png In place of you replace the URL of your background image.
3. Now you need this code for your theme functions.php Add to and Save changes Have to do it. Now you can see the new look of your login page.
change background in login page

4: Add Custom CSS

If you know how to design with CSS, you can add css to the login page and customize it accordingly. For this, you can also create a css file separately or add css to the direct head as well. Let us tell you below.
You have to copy the code below and add it to your theme's functions.php file.
function blhi_login_css () {
echo '';
}

add_action ('login_head', 'blhi_login_css');
You in it
You can add your css code inside. It already has some css, which customize the login form. You can also change it according to your own.

5: Add Custom Link in Login Page

If you want to add any of your important links below the form in your login page, then you can add it. For this, you have to take help of very simple codes. So now we know about it.
  • Copy the code given below and then add it to your theme's functions.php file.
function blhi_custom_link () {
?>
In this code you https://www.blogginghindi.com You can add a link to your blog instead. And you can also customize its text.
WordPress Login Page Ko Customize Kaise Kare Without Plugin 1
Finally, In this way you can easily make the login page of your blog stylish. You can also use the plugin for this, if you are new and you are afraid, then you can take help of the plugin. I hope you got it easily. If you are having trouble in understanding somewhere, then you can comment on us.
By sharing your time, share this post with your friends in social media. Similarly, keep visiting our blog. And if you are a regular visitor of my blog, then subscribe to the newsletter.

Comments