內容簡介
如果您想要只讓特定用戶透過類別閱讀您網站上的內容,那麼不妨使用這個外掛!
透過隱私設定來指定您要保護的類別為「僅會員」。
接著,管理員可以透過用戶設定來分配使用者所能使用的類別。
只有屬於「公開」類別(您未指定為「僅會員」的頂層類別)以及已分配給已登入使用者的類別以及其所有子類別的內容才能被看見。
感謝動作鉤子 pre_get_posts,否則此外掛將不可能完成。
O3World
此外掛的作者為 [email protected]。
我們是費城的線上行銷策略/自訂網頁和行動裝置開發經驗豐富的代理商,同時也非常熱愛 WordPress。
外掛標籤
開發者團隊
② 後台搜尋「O3World Members-Only Categories」→ 直接安裝(推薦)
原文外掛簡介
If you’d like to make the content on your site visible only to certain users using categories, look no further!
Designate certain categories as “members-only” via Privacy Settings.
An administrator may then assign a user to them via Profile.
Only content belonging to “public” categories (any top-level category you do not designate as “members-only”), and categories assigned to the logged-in user, and all subcategories of either, will be visible.
I would like to thank the action hook pre_get_posts, without which this plugin would not have been possible.
O3World
This plugin was created by [email protected]
We’re an online marketing strategy / custom web and mobile development agency in Philadelphia.
Among other things, we love WordPress.
