內容簡介
使用 shortcode [mg-fancy-login-form],使用者可以創建精美的登入表單。您可以在儀表板菜單中的精美登入表單選項中查看參數列表。
登入表單僅顯示給未登入的使用者。管理員可以自定義標籤、佔位符和添加類到登入表單中。
表單將通過 ajax 提交,而無需加載頁面。
您可以傳遞其他參數以自定義它。
label_username
您可以自行設置用戶名字段的標籤。例如:
[mg-fancy-login-form label_username=”登入 ID”]
默認值為用戶名 (Username)
label_password
您可以自行設置密碼字段的標籤。例如:
[mg-fancy-login-form label_password=”用戶密碼”]
默認值為密碼 (Password)
placeholder_username
您可以自行設置用戶名字段的佔位符文本。 例如:
[mg-fancy-login-form placeholder_username=”輸入用戶名”]
默認值為 Null
placeholder_password
您可以自行設置密碼字段的佔位符文本。 例如:
[mg-fancy-login-form placeholder_password=”輸入密碼”]
默認值為 Null
class_username
您可以在用戶名字段中添加自定義類。 例如:
[mg-fancy-login-form class_username=”用戶類別”]
默認值為 Null
class_password
您可以在密碼字段中添加自定義類。 例如:
[mg-fancy-login-form class_password=”密碼類別”]
默認值為 Null
redirect_url
您可以添加登錄成功後用戶將移動到的重定向鏈接。例如:
[mg-fancy-login-form redirect_url=”www.google.com”]
默認值為站點首頁 url
form_heading
您可以自己添加登錄表單標題。例如:
[mg-fancy-login-form form_heading=”在此登錄”]
默認值為登入表單
外掛標籤
開發者團隊
原文外掛簡介
By using the shortcode [mg-fancy-login-form] users can create the fancy login form. Users can see the list of parameters in fancy login form menu item in dashboard.
Login form will show only for non logged-in users. Admin can customize labels, placeholder and add classes in the login form.
Form will be submitted by ajax without loading the page.
There are other parameters that you can pass in the shortcode to customize it.
label_username
You can set the label of username field yourself. For Example
[mg-fancy-login-form label_username=”Login ID”]
Default value would be Username
label_password
You can set the label of password field yourself. For Example
[mg-fancy-login-form label_password=”User Password”]
Default value would be Password
placeholder_username
You can set the label of password field yourself. For Example
[mg-fancy-login-form placeholder_username=”Enter username”]
Default value would be Null
placeholder_password
You can set the placeholder text of password field yourself. For Example
[mg-fancy-login-form placeholder_password=”Enter password”]
Default value would be Null
class_username
You can add the custom class in username field. For Example
[mg-fancy-login-form class_username=”user-class”]
Default value would be Null
class_password
You can add the custom class in password field. For Example
[mg-fancy-login-form class_password=”password-class”]
Default value would be Null
redirect_url
You can add the redirect link on which user will move after Successfully login. For Example
[mg-fancy-login-form redirect_url=”www.google.com”]
Default value would be home page url of the site
form_heading
You can add the Login form heading yourself. For Example
[mg-fancy-login-form form_heading=”Login Here”]
Default value would be Sign In Form
