[WordPress] 外掛分享: Unlisted Posts

首頁 › 外掛目錄 › Unlisted Posts
WordPress 外掛 Unlisted Posts 的封面圖片
100+
安裝啟用
—
尚無評分
18 天前
最後更新
—
問題解決
WordPress 5.7+ PHP 7.0+ v2.1.0 上架:2020-11-10

內容簡介

Unlisted Posts 外掛為文章與頁面新增一個「不列出」的切換選項,啟用後該內容將不會出現在 WordPress 的任何列表中,但擁有連結的人仍可訪問。此外掛非常適合與客戶分享頁面、發布不希望出現在部落格中的文件,或保持舊內容的可訪問性而不進行推廣。

【主要功能】
• 隱藏文章於所有列表中
• 支援自訂文章類型
• 自動添加 noindex 標籤

外掛標籤

開發者團隊

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

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

原文外掛簡介

Unlisted Posts adds an “Unlisted” toggle to posts and pages. Switch it on and the post is left out of everywhere WordPress lists content, while anyone with the link can still open it. Handy for sharing a page with clients, publishing documentation you don’t want in your blog feed, or keeping old content reachable without promoting it.
What gets hidden

Blog home, category, tag, author and date archives
Search results
RSS and Atom feeds, including the comments feed
XML sitemaps: WordPress core, Yoast SEO, Rank Math, All in One SEO, SEOPress and The SEO Framework
Latest Posts, Query Loop, Page List, Archives, Latest Comments and other blocks and widgets that list content
Previous / next post links
WooCommerce shop, product category pages, product search, related products, product blocks and the [products] shortcode
Public REST API lists (editors still see unlisted posts in the editor’s link search and Parent page picker)

Unlisted posts also send a noindex robots meta tag so search engines drop them (also through Yoast SEO, Rank Math, All in One SEO, SEOPress and The SEO Framework, which print their own robots tag), and the admin lists show an “Unlisted” label next to each one.
Where the toggle lives

Block editor: the post sidebar’s Summary panel, next to Status and Visibility
Classic editor and WooCommerce products: a checkbox in the Publish box

The plugin stores a single _unlisted_post post meta value and keeps a small cached list of unlisted IDs, so there is no extra query cost on the front end.
Custom post types
Posts, pages and (when WooCommerce is active) products are supported by default. Add other post types with the unlisted_posts_post_types filter. A post type must support custom-fields for the block editor toggle to save.
add_filter( 'unlisted_posts_post_types', function ( $types ) {
$types[] = 'portfolio';
return $types;
} );

延伸相關外掛

文章
Filter
Mastodon