BLOG

“I still suggest you call
this page 42Lab.
Works for both of us!”
- Joey

WordPress 101: Tips, Tricks and Hacks

Being able to successfully convert a visitor into a user is no small feat on the internet. The page that welcomes your users into your world must create palpable anticipation in them to work effectively. 

The login page represents your business thus it must have an enchanting impact on the users. WordPress offers many modifiable aspects of your website, and login pages are an essential part of them.

How To Make Modifications To The Login Page In WordPress?

Therefore in this blog, we will guide you through the process of editing the appropriate CSS and PHP code to which a customized WordPress login page. 

To modify your login page on WordPress, you must make a few added customization to your functions file. The following steps detail what you have to do:  

  1. In your present WordPress theme directory (../wp-content/themes/your-theme-name), create a new folder called – ‘login’. Now, add a CSS file named – custom-login-styles.css, into that login folder. 
  2. Write the following set of codes inside your functions.php file:
  • function my_custom_login() {
echo '<link rel="stylesheet" type="text/css" href="' . get_bloginfo('stylesheet_directory') . '/login/custom-login-styles.css" />';

}

add_action('login_head', 'my_custom_login');

 

Also read:

How to enable infinite scrolling on your WP site?

How to separate both comments and trackback?

How to increase the number of footer widget areas?

 

42 works

Why do Market Leaders rely on Social Listening?

Read Blog

42Works announces COVID-19 relief measures for all its team members

Read Policy
42 works
Get 42Works Blog updates in your Inbox!

    Virginia United States 44.192.253.106 https://42works.net/login-page-modifications-wordpress/