
內容簡介
這個外掛會在經典編輯器和 Gutenberg 編輯器的「發佈」欄加入一個「非公開?」的勾選框。當勾選了此項目時,將會透過 pre_get_posts 篩選器過濾,從你的網站大部分區域中排除該文章,包括 RSS 訂閱、網誌頁面、小工具、分類頁面、歸檔頁面等等。此外,它會為未列出的頁面添加 noindex 標籤,以防止 Google 索引該頁面。如果你想要在網站上發佈一些資訊,讓其他人可以通過連結查看而不完全發佈,這個外掛會非常有用。
功能
發佈文章時,提供一個簡單的勾選框,可以將帖子設置為「非公開」
允許您隱藏帖子,不顯示在網站的大部分區域內
對未列出的頁面添加 noindex 標籤
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin adds a “Unlisted?” checkbox in the “Publish” box while using the classic editor and Gutenberg. When this is checked the post will be excluded from most areas of your website by filtering pre_get_posts filter. This means posts will be excluded from RSS feeds, blog pages, widgets, category pages, archive pages, and more. Additionally it adds a noindex tag to the unlisted page to prevent Google from indexing the page. This is useful if you want to publish some information on your site and allows others to view it via the link without fully publishing.
Features
Simple checkbox to unlist posts when publishing a post
Allows you to hide posts from most areas of your site
Add a noindex tag to pages that are unlisted
