
內容簡介
這個外掛使用簡碼來保護頁面和類別,需要登錄後才能查看。
要保護頁面,只需在內容中添加簡碼,就會提示登錄以查看內容。登錄後,用戶將重定向到所請求的頁面。
要保護類別,只需在類別描述中添加簡碼,就會提示登錄以查看類別內容。登錄後,用戶將重定向到所請求的類別頁面。
您可能還想根據用戶的角色顯示某些類別或頁面。在頁面的情況下,顯示的內容將被替換為文本“NOT ALLOWED”,而在類別的情況下,沒有指定角色的用戶將被重定向到首頁。
翻譯
英文 - 默認,始終包含
意大利文 - 始終包含
注意:歡迎以您的語言翻譯此外掛。這對全球所有用戶都非常重要。因此,請將您的語言貢獻給外掛,使其更加實用。對於翻譯,我建議使用“Poedit 編輯器”。
外掛標籤
開發者團隊
② 後台搜尋「Protect pages and categories with login」→ 直接安裝(推薦)
原文外掛簡介
This plugin protects pages and categories with login using a shortcode.
For page protection add a shortcode on the content and it will be prompted to login in order to view the content. After login user will be redirected to the requested page.
For category protection add a shortcode on the cetgory description and it will be prompted to login in order to view the category contents. After login user will be redirected to the requested category page.
You may also want to display a certain category or page depending on the user’s roles. In the case of pages the content displayed will be replaced with the text “NOT ALLOWED”, while in the case of categories the user who does not have the indicated role will be redirected to the homepage.
Translations
English – default, always included
Italiano – sempre incluso
Note: Feel free to translate this plugin in your language. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the “Poedit Editor”.
