[WordPress] 外掛分享: Yuhi — Smarter Content Controls

首頁外掛目錄 › Yuhi — Smarter Content Controls
WordPress 外掛 Yuhi — Smarter Content Controls 的封面圖片
10+
安裝啟用
尚無評分
61 天前
最後更新
問題解決
WordPress 6.2+ v1.2.0 上架:2025-11-13

內容簡介

總結:Yuhi 是一個WordPress外掛,提供結構化的生命週期階段“Sunset”,以及精細的能見度控制,使得過時、私人以及有密碼保護的內容能在適當時保持可存取,同時隱藏在公開頻道中。

- Yuhi 外掛主要功能:

- 加入Sunset文章狀態,並記錄內容轉為Sunset的時間戳記
- 過濾前端查詢、站點地圖和REST API結果,隱藏過時或受限制的素材
- 保持Sunset內容的永久連結活躍, 並使用自訂重寫規則和快取
- 為登入用戶顯示帶有樣式的“此頁面已被標記"Sunset""橫幅
- 將登出訪客重新導向到首頁或替代URL
- 提供管理員設置以切換Sunset、私有和受密碼保護內容的行為
- 包括批量操作和元框,用於設置Sunset細節,如日期和替換URL

- Yuhi外掛的關鍵特性:

- 週期管理
- 在管理列表和下拉選單中註冊非公開的Sunset狀態
- 當內容轉入Sunset時自動打印_yuhi_sunset_on日期
- 使用重寫和查詢過濾器保持工作永久鏈接

- 能見度控制
- 從搜索、檔案、REST API和站點地圖中隱藏Sunset、私有和有密碼保護的項目
- 對Sunset頁面添加noindex、nofollowmeta標記
- 對登出訪客進行可衝突的可選重新導向

- 編輯工具
- 批量操作將多個帖子標記為Sunset
- 自定義的“Sunset細節”元框,用於日期和替換URL
- 成功通知及所有操作的nonce/capability檢查

- 設置屏幕
- 在Settings → Yuhi Content Controls下找到
- 切換前端橫幅,重定向,站點地圖過濾和查詢可見性
- 乾淨的管理員設計,僅在需要時加載專用CSS

- 性能和清理
- 在外掛引導期間將所有鉤子連接以實現統一的加載順序
- 選項在保存時進行清潔,並在卸載時刪除以保持乾淨的數據庫

- 典型使用案例
- 將過時的部落格文章或產品頁面歸檔而不破壞鏈接
- 保留對符合性敏感的內容進行私人可用性
- 通過將舊內容排除在索引之外來維護SEO衛生
- 管理僅限會員或有期限的資源

- 路線圖
- 基於角色的能見度規則
- 每種帖子類型的自定義重定向目的地
- 過期時間表和電子郵件通知
- 集成塊編輯器UI

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.0) 或搜尋安裝

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

原文外掛簡介

Most sites accumulate content that’s no longer relevant but can’t simply be deleted. Yuhi provides a structured lifecycle stage—Sunset—and fine-grained visibility controls to hide deprecated, private, and password-protected items from public channels while keeping them accessible when appropriate.
From redirecting logged-out users to marking content as noindex, Yuhi keeps your archives clean and your users confident in what’s current. It manages the technical side—rewrites, queries, caching, REST behavior—so editors can focus on the story, not the plumbing.
What it does

Adds a Sunset post status and records the timestamp when content transitions into it
Filters front-end queries, sitemaps, and REST API results to hide deprecated or restricted material
Keeps permalinks active for Sunset content with custom rewrite rules and caching
Displays a styled “This page has been sunset” banner for logged-in users
Redirects logged-out visitors to the homepage or a replacement URL
Warns admins when navigation menus include unpublished or sunsetted items, with snooze/dismiss controls
Provides admin settings to toggle behaviors for Sunset, private, and password-protected content
Includes bulk actions and a metabox for setting Sunset details like date and replacement URL
Backend alert when a page/post that is in a WordPress menu has been moved to trash, set as draft, or sunset

Key features
Lifecycle management

Registers a non-public Sunset status with badges in admin lists and dropdowns
Automatically stamps a _yuhi_sunset_on date when content moves into Sunset
Maintains working permalinks with rewrite and query filters

Visibility controls

Hide Sunset, private, and password-protected items from search, archives, REST API, and sitemaps
Add noindex, nofollow meta tags to Sunset pages
Optional redirect for logged-out visitors with conflict-safe logic

Editor tools

Bulk action to mark multiple posts as Sunset
Custom “Sunset details” metabox for date and replacement URL
Success notices and nonce/capability checks for all actions

Settings screen

Found under Settings → Yuhi Content Controls
Toggles for front-end banner, redirection, sitemap filtering, and query visibility
Clean admin design with bespoke CSS loaded only where needed

Performance and cleanup

All hooks wired during plugin bootstrap for cohesive load order
Options sanitized on save and deleted on uninstall for a clean database

Typical use cases

Archiving outdated blog posts or product pages without breaking links
Keeping compliance-sensitive content available privately
Maintaining SEO hygiene by excluding old content from indexing
Managing member-only or time-limited resources

Roadmap

Role-based visibility rules
Custom redirect destinations per post type
Expiration scheduling and email notifications
Integration with block editor UI

文章
Filter
Mastodon