
內容簡介
提供短代碼和模板標記,以在任何想要的地方放置彈出登錄表單的鏈接。
功能:
具有覆蓋或簡單彈出表單的模態表單
為未登錄用戶顯示登錄鏈接,單擊即可彈出登錄表單
可以放置多個實例:將登錄表單鏈接放置到側邊欄、標頭和頁腳
完全可自定義的HTML、CSS和文本行(但完全可直接使用)
如果存在,從主題文件夾中讀取自定義CSS文件
提供用於在文章和小工具中使用的短代碼
模板標記可用於模板文件中的易用性
目前支援的語言:
英語
德語
由Sjoerd Lohuis提供的荷蘭語
由Denis(Boulli)提供的法語
如果您想提供翻譯,請與我聯繫。
有關詳細信息,請參閱其他注意事項部分。
有關使用示例,請參閱flexibleplugins.com。
有關即將推出的功能,請參閱實驗頁面。
如何在您的網站上使用靈活的前端登錄短代碼
在小工具設置頁面中選擇靈活的前端登錄,並將設置調整為您的網站。
在文章或頁面中放置[flexible-frontend-login]
默認情況下,短代碼使用在管理選項頁面上設置的設置。
您可以使用以下參數和選項覆蓋這些默認值:
vertical=top, bottom
horizontal=left, right
因此,您的短代碼可能如下所示:
[flexible-frontend-login vertical=bottom horizontal=left]
如果要使用帶有暗化的居中登錄表單,
請使用[flexible-frontend-login-modal]而不使用任何參數。
如何在您的網站上使用靈活的前端登錄模板標記
在模板文件中放置:
<?php if (function_exists ('flexible_frontend_login')) flexible_frontend_login ('bottom','left');?>
要更改彈出窗口的行為,可以使用
“bottom”或“top”
“left”或“right”
要使用覆蓋彈出窗口,請使用:
<?php if ( function_exists('flexible_frontend_login_modal') ) flexible_frontend_login_modal(); ?>
實際範例
有關更多示例,請參閱插件網站
如何添加自己的樣式
在您的主題文件夾中放置一個名為flexible-frontend-login的文件夾
從/wp-content/plugins/flexible-frontend-login/customization/複製文件到新建的主題子文件夾中
將CSS調整為您的主題。您會在該文件中找到插件提供的所有類。
如果必要,請更改模板文件中的HTML標記。
待辦事項
包括刪除停用選項的選項
添加顯示註冊鏈接和表單的管理選項
將管理選項添加為短碼選項
外掛標籤
開發者團隊
原文外掛簡介
Provides shortcode and template tag to place a link to popup a login form at any place you want to.
Features:
Modal form with overlay or simple popup form
Shows a login link for not logged in users that pops up a login form on click
Multiple instances possible: Place login form links to sidebar, header, and footer
Fully customizable HTML, CSS and text lines ( but works completely out of the box )
Reads your custom CSS file from your themes folder if existing
Provides shortcodes for use in posts and widgets
Template tags for easy use in template files
Languages so far:
English
German
Nederlands by Sjoerd Lohuis
French by Denis (Boulli)
If you like to provide a translation please drop me a line.
See Other Notes section for further information.
See flexibleplugins.com for usage examples.
See the experimental page for upcoming features.
How to use the Flexible Frontend Login shortcode on your site
On the widget settings page choose the Flexible Frontend Login and adjust the settings to your site.
In a post or page place [flexible-frontend-login]
By default the shortcode uses the settings set on the admin options page
You can override those default values with the following parameters and options:
vertical=top, bottom
horizontal=left, right
So your shortcode might look like this:
[flexible-frontend-login vertical=bottom horizontal=left]
If you want to use the centered login form with darkened overlay in the background
use [flexible-frontend-login-modal] without any parameters.
How to use the Flexible Frontend Login template tag on your site
In template files place:
To change popups behavior you can use
“bottom” or “top”
“left” or “right”
For popup with overlay use:
Live examples
For more examples see plugin’s website
How to add your own styling
Place a folder flexible-frontend-login in your theme folder
Copy the files from /wp-content/plugins/flexible-frontend-login/customization/ into the newly created theme subfolder
Adjust the CSS to your theme. You’ll find all classes provided by the plugin in that file.
If necessary change the HTML markup in the template file.
To Do
Include option to delete options on deactivation
Add option to display register link and form
Add admin option for redirection on logout
Add languages
Add option for Gravatar display for logged in users
Validate inside of modal window/current page without jumping to the basic wp-login.php
redirect to a specific User Role accessible page after a succesful login, add shortcode options for this
