[WordPress] 外掛分享: Private Suite

首頁外掛目錄 › Private Suite
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
3617 天前
最後更新
問題解決
WordPress 3.3+ v2.1 上架:2009-10-13

內容簡介

可以選擇性地將私人頁面添加到wp_list_pages(),wp_page_menu()和“頁面小工具”中
提供獨立的wp_list_private_pages()標籤(一個複製了wp_list_pages()並接受所有相同參數的標籤)
指定私人類別,所有文章將自動設為私人狀態
讓您更改私人帖子/頁面標題上的“私人:”前綴
讓您更改密碼保護帖子/頁面標題上的“受保護:”前綴
讓您選擇哪些用戶角色可以閱讀私人頁面和帖子

現在在GitHub上。

翻譯

法語(fr_FR),由Regis Lemaire翻譯
保加利亞語(bg_BG),由SiteGround翻譯
土耳其語(tr_TR),由Ömer Faruk Karabulut翻譯

注意事項
閱讀設置

您必須至少擁有一個公共頁面。否則,從3.1開始,在設置頁面上將不會顯示首頁設置(在那裡您可以選擇將靜態頁面設置為首頁)。只要您有一個公共頁面,所有私人頁面都將出現在下拉菜單中。

頁面列表和小工具

將私人頁面添加到 wp_list_pages(),< code>wp_page_menu()和“頁面小工具”中,並不總是起作用。私人頁面將無法排序,它們可能會出現在錯誤父頁面的子頁面中。如果發生這種情況,請嘗試使用wp_list_private_pages()模板標籤。這是wp_list_pages()的一個克隆版本,應該接受所有相同的參數。此外,此外掛包含一個包括私人頁面的額外“頁面小工具”。

私人類別

當您將一個類別標記為私人時,該類別中的所有帖子在發佈時將其可見性設為私人狀態,即使您沒有在編輯屏幕上更改可見性設置。只有已發佈的帖子受影響;您的草稿、待審批和已排程的帖子將像往常一樣工作,除了已排程的帖子在活動時會被設置為私人狀態。

鳴謝

非常感謝mtekk提供使頁面列表功能成為可能的補丁。頁面列表的替代方法是源自< a href="http://activecodeline.com/create-a-menu-for-private-pages-and-posts-in-wordpress" rel="nofollow ugc">Branko Ajzele。

翻譯

如果您想向我發送翻譯,請透過我的聯繫頁面與我聯繫。讓我知道您翻譯了哪個外掛並告訴我您想被如何認證。我會回信給您,讓您可以在回信中附上檔案。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1) 或搜尋安裝

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

原文外掛簡介

Optionally adds private pages to wp_list_pages(), wp_page_menu(), and the Pages widget
Provides a separate wp_list_private_pages() tag (a clone of wp_list_pages() that accepts all the same arguments)
Specifies private categories, in which all posts will automatically be set to private
Lets you change the “Private:” prefix on private post/page titles
Lets you change the “Protected:” prefix on password-protected post/page titles
Lets you choose which user roles can read private pages and posts

Now on GitHub.
Translations

French (fr_FR) by Regis Lemaire
Bulgarian (bg_BG) by SiteGround
Turkish (tr_TR) by Ömer Faruk Karabulut

Notes
Reading Settings
You must have at least one public page. Otherwise, as of 3.1, the front page settings (where you can choose a static page as your home page) will not appear on the settings page at all. As long as you have one public page, all the private pages will appear as options in the dropdown menu.
Page Lists and Widgets
Adding private pages to wp_list_pages(), wp_page_menu(), and the Pages widget does not always work as it should. The private pages will be out of order, and they might appear as children of the wrong parent page. If this occurs, try using the wp_list_private_pages() template tag instead. It’s a clone of wp_list_pages() and should accept all the same arguments. This plugin includes an extra Pages widget that includes private pages.
Private Categories
When you mark a category as private, all the posts in that category will have their visibility set to private when they are published, even if you don’t change the visibility setting on the edit screen. Only published posts are affected; your draft, pending, and scheduled posts will work as usual, except that scheduled posts will be set to private when they become active.
Acknowledgments
Huge thanks to mtekk for providing the patch that makes the page list features possible. The alternative method of listing pages was adapted from Branko Ajzele.
Translations
If you would like to send me a translation, please write to me through my contact page. Let me know which plugin you’ve translated and how you would like to be credited. I will write you back so you can attach the files in your reply.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon