By default, the login page that visitors see on your site is the same as the login page used by administratorsequal. While this page is fully functional, the design is very simple, leaving a lot of white space with the WordPress logo right in the center. It does little to support your brand or provide a user-friendly experience for visitors.
![图片[1]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302195362.png)
Creating a custom login page is a relatively simple improvement you can make to your WordPress website. In this article, we'll discuss the benefits of WordPress custom login pages, go over a few ways to create a login page, and explore some best practices for user experience and security.
Why you need to customize your WordPress login page
Customizing your WordPress login page doesn't have to be a complicated project. Just make a few simple tweaks, such as replacing the WordPress logo with your own and changing the background.
Customizing the login page allows the page to become more:
- user-friendly: Customizing the page makes the login process more intuitive and user-friendly.
- expert: Customized pages can enhance your brand image and make your website look more professional.
- visual appeal: Pages can be made more aesthetically pleasing by adding branding elements and personalization.
- informativeness: You can increase the functionality of your login page by displaying important notifications and information on it.
- safe: The security of the login page can be enhanced by adding security measures to protect user data.
Making these improvements is quick and easy. A little time spent now can improve the login page for every visitor who will use it in the future.
![图片[2]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302223571.png)
How to Create a Custom WordPress Login Page (3 Ways)
Here are three popular ways to create a custom WordPress login page:
1. Utilization SeedProd Create WordPress Customized Login Page
The SeedProd plugin is an intuitive way to customize your login page. It is also possible to create custom 404 pages, maintenance mode pages, "Coming Soon" pages, and other login pages.The
The 404 page and login page modules require SeedProd Pro Plan. To build your login page, simply follow these steps:
Step 1: Install and Activate SeedProd Pro First, go to the Plugins page in your dashboard and select Add New Plugin. Search SeedProd and install it. After the installation is complete, theClick Enable ActivationThe
![图片[3]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302251481.png)
Next, you need to upgrade to the Premium plan. To do this, click "Get Pro" in the SeedProd tab, and thenbuyingActivation key for the premium version.
Step 2: Create a login page using the login page template After activating SeedProd Pro, hover over the SeedProd tab and select "landing page".
Select "Setting up the login page" to customize your new login page using pre-built templates. Then go to the editor where you can design your new login page.
![图片[4]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302401183.png)
The SeedProd editor behaves much like the WordPress block editor, allowing you to easily add and modify various aspects of your page.
These include username and password entry boxes, remember me checkboxes, password reset links, images and backgrounds.
Additional text, images, tables, etc. can be added using the block editor, just like adding a regular post. Simply customize this page to your liking and click in the upper right corner of the screen on the "save (a file etc) (computing)" button will do.
![图片[5]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302303553.png)
Step 3: Activate the new login page After saving the design, exit the Edit screen and return to the SeedProd Login Page screen in the Dashboard. Toggle the switch in the Login Page module to Active to replace the default login page with the newly designed login page.
Logout and return to see it in action! Test the reset password link and other features before logging back in.
2. Utilization LoginPress Modify the login page
If looking for something more affordable and simpler, LoginPress is a handy free plugin for customizing your login page. It lacks some of the features and optimizations of SeedPod Pro, but adds functionality to the WordPress full site editor to easily customize your login page. Follow the steps below:
Step 1: Install and Activate LoginPress Plugin On the Plugins page of the dashboard, select "Add New Plugin"and search for "LoginPress". Install and activate the plugin.
![图片[6]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302341173.png)
Step 2: Modify the login page using the customizer After installing and activating LoginPress, you will see a new tab on the left side of your WordPress dashboard. Hover over the LoginPress tab and select Customizer to modify your login page.
![图片[7]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302354397.png)
Will go directly to the login page within the full site editor. Will see icons for the following features:
- Change Logo
- Customized forms (username and password)
- Customized buttons (login)
- Customized navigation (forgot password?)
- Changing the footer
- Changing the template
- change the background
Select the appropriate pencil or brush icon to modify the element. Easily change the logo, upload your own background or change the form and login buttons with a few clicks.
It's not possible to edit this page as completely freely as you can with the block editor in SeedProd Pro, but it's enough to customize the vast majority of login pages.
Step 3: Explore Additional Features and Consider Upgrades Some features are only available in the LoginPress Premium plan, such as the reCAPTCHA module. For most small to medium sized WordPress sites, the free version is sufficient to create custom login pages.
Suggested changes If you choose to customize your login page this way, then changing the logo is probably the first thing you'll want to do. Simply click next to the default logo on theBlue Pencil IconSimply upload your own logo.
Next, try out some other templates to see if they fit your style. If not, feel free to upload your own template or simply create a background using your brand's primary colors.
Then, consider changing the actual form'sFonts or textto be consistent with the rest of the site. You also need to make sure that all the links are working.
3. UtilizationCustom CodeModify the login page
![图片[8]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072303022678.png)
If you don't want to use a plugin, you can also customize the login page using code. This requires more technical knowledge, but does provide maximum flexibility.
Exactly how you adjust the login page using custom code is up to you. Let's look at an example of a simple change you might want to make.
Let's say you want to manually replace the WordPress logo on your login screen with your own graphic. This may seem daunting to beginners, but it's not difficult for those familiar with accessing website files and basic code manipulation. Simply follow the steps below:
Step 1: Backup your website Whenever a file or folder is manually modified on a website, it is best toCreating a BackupThe
It's always a good idea to make regular full-site backups, although you should at least copy all the files you plan to modify. In this case, you'll be making a backup of the functions.php
file to make changes.
Step 2: Create and Upload Your Logo Of course, a logo image is needed to replace the default logo. Upload the image you want to use to your media library.
While you could theoretically set the image to any size, a size of about 300 pixels wide is perfect for the top of the default login form. We'll use 300×300 pixels as an example of a square placeholder image.
Images can be resized outside of WordPress or in the Media Library. To do the latter, simply click on the image after uploading it and select "Edit Image" near the thumbnail on the right. You can select the size and click "resizing" to resize it. Then save the image and continue.
The next step will require the URL of the image, so click the "Copy URL to Clipboard" button or leave this window open.
Step 3: Modification functions.php
file Next, find your functions.php
Files. Access your theme folder via File Transfer Protocol (FTP). This folder should have the same name as your theme and be located on your site's wp-content
folder.
![图片[9]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072303030850.png)
To toggle the WordPress logo on the login screen, add this code to one of the functions.php
in the file. To avoid placing it in the middle of another script, simply insert this code fragment below the rest of the code at the end of the file:
function wpb_login_logo() { ? <style type="text/css
#login h1 a, .login h1 a {
background-image: url(YOUR IMAGE URL HERE);
height.300px;
width.300px;
background-size. 300px 300px;
background-repeat: no-repeat;
padding-bottom: 10px; ; background-repeat: no-repeat; padding-bottom: 10px; }
}
</style
<?php }
add_action( 'login_enqueue_scripts', 'wpb_login_logo' );
Paste the URL you copied in the previous step into "YOUR IMAGE URL HERE" placeholder position is replaced. After the changes are made, save the functions.php
Documentation.
![图片[10]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302523649.png)
Step 4: Visit your login page Exit and return to the login page.
See your logo replacing the old one. If the dimensions don't look right, you can resize it by changing the height, width, and background pixel values in the code snippet.
If any anomalies are found, changes can be restored by simply restoring the backup. It is also possible to overwrite a previously created backup copy with functions.php
Documentation.
How to Secure Your WordPress Login Page
When implementing a custom login page, there are a few things to keep in mind to ensure the security and health of your website. The login page is a prime target for hackers and bots, so it must be closely protected. Here are a few ways to protect it:
Two-factor authentication (2FA)
![图片[11]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024070107232195.png)
Dual Authentication (also known as 2FA) greatly reduces the likelihood of an account being hacked. With 2FA, in addition to requiring a username and password, when a visitor tries to log in from a new or unregistered device, theSecond identityValidate the form.
For example, if a hacker is able to obtain the login credentials of a particular user of a Web site, they can log right into that account and wreak havoc. Sometimes a hacker can simply guess the password based on the username. With the implementation of 2FA, a second form of authentication is needed.
Typically, this is sent as an email or text to the account holder to confirm that they are trying to log in. Since hackers are unlikely to have access to a user's email or device, this pretty much ensures that the user is real.
It is often possible to speed up 2FA by allowing users to register devices so that login attempts from that source do not need to be verified each time. There are a number of plugins available to set up 2FA on your site. this is especially important if your site handles any type of sensitive or financial information.
CAPTCHA and reCAPTCHA
![图片[12]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302560061.png)
One way to guess login credentials is to use a bot to brute force your site. That is, the program will automatically try to guess common username and password combinations until it succeeds. This may seem like a daunting task for a human, but bots can do this quickly and automatically, guessing thousands of common passwords without human intervention.
The purpose of adding CAPTCHA to WordPress is to block these bots from trying to log in. May have come across these tests. They used to come in the form of distorted words that had to be deciphered and entered into the box.
More modern CAPTCHA involves selecting pictures that contain specific objects, such as cars or chimneys. These tests are difficult for bots to solve and therefore effectively block brute-force cracking attempts.
![图片[13]-如何自定义 WordPress 登录页面:提升品牌形象和用户体验的详细指南-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/07/2024072302562980.png)
reCAPTCHA is an advanced form of this technology that requires little to no input from human users to block bots. loginPress includes reCAPTCHA technology in its Pro version, or the CAPTCHA application can be found in a specific plugin or in a more comprehensive security tool.
Anti-Phishing Notice
A low-tech strategy for stealing login credentials is to mimic an authoritative source and ask for it directly. This is known as phishing.
For example, someone may create an e-mail address using your or your company's name and then send an e-mail requesting login credentials to resolve the issue. If the email and address are convincing, some people may take the bait and respond by divulging their account information.
One way to prevent this from happening is to post an anti-phishing notice announcing that you and your company will never solicit such information. Any such email or message should be considered spam and ignored. A simple notice on a login page can mean the difference between a successful phishing attempt and a secure account.
Summary:
Customizing your login page improves the user experience, gives your website a professional look, and can be used to share important information.
The WordPress login page can be changed using the following method:
- Create a brand new login page using a plugin like SeedProd.
- Modify your login page with a free tool like LoginPress.
- Use custom code to make manual changes, such as swapping default logos.
To make the most of your login screen, the plugin makes it easy to customize the page to fit your needs exactly.
Link to this article:https://www.361sale.com/en/14382The article is copyrighted and must be reproduced with attribution.
No comments