Linux 软件免费装
Banner图

CPT Toggle - Disable Custom Post Types

开发者 designstack
更新时间 2025年9月8日 17:54
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

admin toggle custom post type cpt disable

下载

1.4 1.5

详情介绍:

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

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install via Plugins → Add New.
  2. Activate the plugin.
  3. Go to Settings → CPT Toggle.
  4. Use the tabs to view sources; flip the switches to enable/disable post types.

屏幕截图:

  • Example: theme tab showing disabled CPTs.

升级注意事项:

1.2 Compliance fixes for WordPress.org review (paths, prefixing, text domain, escaping).

常见问题:

Does disabling delete any content?

No. Content remains in the database. Re-enable the post type to access it again.

Will permalinks need refreshing?

Usually not. If you’ve changed a lot, visit Settings → Permalinks and click Save to flush rules.

Some post types show under “Unknown”. Why?

Occasionally a source can’t be inferred from the stack. Tell us the CPT slug and we’ll refine detection.

更新日志:

1.5 1.4 1.3 1.2 1.1 1.0 0.9 0.8 0.7 0.6