[WordPress] 外掛分享: Front-End Users

首頁外掛目錄 › Front-End Users
10+
安裝啟用
☆☆☆☆
1.3/5 分(3 則評價)
5189 天前
最後更新
問題解決
WordPress 3.0+ v1.2.2 上架:2011-06-03

內容簡介

Front-End Users 是一個 WordPress 的外掛,可以防止特定的使用者角色進入 WordPress 後台(/wp-admin/),在前端建立一個編輯個人檔案的頁面,並允許自訂前端使用者專屬頁面。這使得您可以隱藏 WordPress 後台,讓指定的角色(例如訂閱者)只能看到與整個網站相同佈局的個人檔案編輯頁面(以及其他使用者專屬頁面)。所有角色都可以使用前端功能,但您可以選擇哪些角色可以進入 WordPress 後台(預設只有管理員可以進入)。

此外,Front-End Users 還可以輕鬆地:

顯示使用者狀態相關連結(例如「登入|註冊」、「John|登出」、「John|儀表板|登出」)
更改個人檔案編輯頁面和其他使用者專屬頁面的 URL
添加其他使用者專屬頁面,並顯示全部或部分這些頁面的選單
確定當前使用者是否可以進入後台

有關掛鉤的說明在example_hooks.php中,而函數的說明在functions.php中。

如果還安裝了User Avatar外掛,則其提供的頭像編輯功能將顯示在前端使用者設定頁面上。

如果您想獲取開發版本、看看新增了哪些新功能或瀏覽原始碼,請訪問GitHub 存儲庫。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Front-End Users」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Front-End Users is a WordPress plugin that prevents specified user roles from accessing the WordPress admin section (the pages in /wp-admin/), sets up a profile editing page on the front-end, and allows for customization of front-end user-specific pages. This allows you to hide all of the WordPress back-end from specified roles (e.g. Subscribers) and instead present to them a profile editing page (and, optionally, other user-specific pages) that have the same layout as the rest of the site. The front-end functionality is available to all roles, but you can choose which roles are able to access the WordPress admin section (by default, only Administrators have access to it).
Front-End Users also makes it easy to:

Display user-specific links that depend on the login state (e.g. “Sign in | Register”, “John | Sign out”, “John | Dashboard | Sign out”)
Change the URL of the profile editing page and other user-specific pages
Add other user-specific pages and display a menu of all of some of these pages
Determine whether the current user has access to the admin section

The documentation for the hooks is in example_hooks.php, and the documentation for the functions is in functions.php.
If the User Avatar plugin is also installed, the avatar-editing functionality it provides will be shown on the front-end user settings page.
If you’d like to grab development releases, see what new features are being added, or browse the source code please visit the GitHub repo.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon