[WordPress] 外掛分享: CPT Toggle – Disable Custom Post Types

首頁外掛目錄 › CPT Toggle – Disable Custom Post Types
20+
安裝啟用
尚無評分
190 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.5 上架:2025-09-07

內容簡介

```html
<ul>
<li>Custom Post Type Toggle 提供清晰的概覽您網站上的每個已註冊的文章類型 - 無論是來自 WordPress 核心、您的佈景主題還是已安裝的外掛程式。文章類型根據來源在標籤下分組,因此很容易看到來自哪裡。</li>
</ul>
<h3>問題與答案:</h3>
<ol>
<li>
<strong>為什麼要使用 Custom Post Type Toggle?</strong>
<ul>
<li>保持管理選單整潔</li>
<li>減少編輯者和客戶的混亂感</li>
<li>透過停用未使用的文章類型,輕量化網站</li>
</ul>
</li>
<li>
<strong>功能特色有哪些?</strong>
<ul>
<li>開啟/關閉任何文章類型(核心或自訂)</li>
<li>使用標籤按來源(核心、佈景主題、外掛程式)將文章類型分組</li>
<li>乾淨的基於卡片的介面,具有即時 AJAX 切換功能</li>
<li>啟用、停用和總計的計數器</li>
<li>安全使用 - 隨時可以重新啟用</li>
</ul>
</li>
<li>
<strong>它是如何工作的?</strong>
<ul>
<li>這個外掛檢查 register_post_type() 被呼叫的地方,並將來源標記為核心、啟用的佈景主題/子佈景主題或特定外掛程式名稱。</li>
</ul>
</li>
</ol>
```

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CPT Toggle – Disable Custom Post Types」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Custom Post Type Toggle gives you a clear overview of every registered post type on your site — whether they come from WordPress core, your theme, or installed plugins. Post types are grouped under tabs by their source, so it’s easy to see what comes from where.
If you don’t need some post types (e.g. “Portfolio” from a theme you’re not using, or “Testimonials” from a plugin), switch them off. Disabling hides the post type in admin and prevents it being used on the front end.
Why use it
– Keep the admin menu uncluttered
– Reduce confusion for editors and clients
– Lighten the site by disabling unused post types
Features
– Toggle any post type (core or custom) on/off
– Tabs that group post types by source (Core, theme, plugin)
– Clean card-based interface with instant AJAX switching
– Counters for enabled, disabled and total
– Safe to use — re-enable at any time
How it works
The plugin inspects where register_post_type() is called from and labels the source as Core, active theme/child theme, or a specific plugin name.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon