Title: Post Type Switcher
Author: John James Jacoby
Published: <strong>2010 年 5 月 29 日</strong>
Last modified: 2026 年 10 月 15 日

---

搜尋外掛

![](https://ps.w.org/post-type-switcher/assets/banner-772x250.png?rev=3748260)

![](https://ps.w.org/post-type-switcher/assets/icon-256x256.png?rev=3748260)

# Post Type Switcher

 由 [John James Jacoby](https://profiles.wordpress.org/johnjamesjacoby/) 開發

[下載](https://downloads.wordpress.org/plugin/post-type-switcher.4.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/post-type-switcher/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/post-type-switcher/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/post-type-switcher/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/post-type-switcher/#developers)

 [技術支援](https://wordpress.org/support/plugin/post-type-switcher/)

## 外掛說明

This plugin adds a simple post-type drop-down to the post editor interface, allowing
you to reassign any post to a new post type. It allows you to switch a post’s type
while editing your post.

#### 支援的內容類型

這個外掛可以進行文章、頁面及自訂內容類型間的各種轉換組合：

 * 將頁面轉換為文章
 * 將文章轉換為頁面
 * 將文章轉換為某個自訂內容類型
 * 將某個自訂內容類型轉換為另一種自訂內容類型

這個外掛在 3.0.0 版之後，移除了對 [附件] 內容類型的支援。或許會在後續版本重新加入
這項功能。

隱藏的內容類型如內容修訂、選單等均已刻意排除，如需存取這些隱藏的內容類型，可以使用`
pts_post_type_filter` 篩選器調整存取限制。

#### 批次編輯

感謝 Matthew Gerring 對批次編輯提供的技術支援，使用者現在可以選取指定內容類型的全部
文章，並將他們批次轉換為新的內容類型。

#### 區塊編輯器

With Block Editor support (thanks to Daniel Bachhuber) you can switch between post
types that use either the Block Editor or Classic Editor without losing any of your
embedded content.

## 螢幕擷圖

[⌊"Type" column in the Posts screen.⌉⌊"Type" column in the Posts screen.⌉[

“Type” column in the Posts screen.

[⌊"Post Type" interface in Quick Edit.⌉⌊"Post Type" interface in Quick Edit.⌉[

“Post Type” interface in Quick Edit.

[⌊"Post Type" chooser in the 區塊編輯器.⌉⌊"Post Type" chooser in the 區塊編輯器.⌉[

“Post Type” chooser in the 區塊編輯器.

## 安裝方式

 1. 在 WordPress 控制台中，前往 [外掛][安裝外掛]。
 2. 搜尋「Post Type Switcher」。
 3. 點擊 [安裝] 按鈕便能安裝這個外掛。
 4. 點擊 [啟用] 按鈕便能啟用這個外掛。
 5. 在編輯內容的畫面中，[發佈] 按鈕的上方會出現 [內容類型] 介面。
 6. 將內容類型變更為符合需求的內容類型。

#### 最低安裝需求

 * WordPress version 6.6 or greater.
 * PHP 8.0 或更新版本。
 * MySQL 5.7 或更新版本。

#### 建議安裝需求

 * WordPress 最新版本。
 * PHP 8.0 或更新版本。
 * MySQL 8.0 或更新版本或 MariaDB 10.5 或更新版本。

## 常見問題集

### 這個外掛的使用情境為何？

You need to selectively change a post’s type from one to another.

### 這個外掛會破壞原始內容關聯的分類法嗎？

應該不會。這個外掛僅會變更內容的 `post_type` 屬性。

### 這個外掛的操作會破壞由區塊編輯器製作的內容嗎？

應該不會。在切換編輯器類型時，編輯 HTML 要小心。

### 這個外掛會刪除網站內容嗎？

不會。這個外掛不含任何能刪除網站內容的程式碼。

外掛間產生衝突並非不可能發生，疑難排解也較為困難。

如果擔心內容發生意外，請在使用這個工具前先備份網站資料庫，並停用其他外掛。

如果仍有疑慮，請前往 WordPress.org 技術支援論壇尋求協助。

### Where can I get support?

Use the [WordPress.org support forum](https://wordpress.org/support/plugin/post-type-switcher/)
for installation and usage questions.

### Where can I discuss development?

Use [GitHub Discussions](https://github.com/JJJ/post-type-switcher/discussions) 
for broader development conversations. Report reproducible defects through GitHub
Issues.

## 使用者評論

![](https://secure.gravatar.com/avatar/a61a3fe46da238ccd95abfc954213ec2486724e33b3a31caa2c3f6adf6aa27fb?
s=60&d=retro&r=g)

### 󠀁[Very good](https://wordpress.org/support/topic/very-good-7825/)󠁿

 [Eli](https://profiles.wordpress.org/realact/) 2026 年 10 月 19 日

It works as expected, does exactly what it claims to do with no side effects.

![](https://secure.gravatar.com/avatar/2f4f34661ec3a62bba2b22c849abac9539b4280cc1ccb5b41dc809bfa1ea3892?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-17239/)󠁿

 [gwenm](https://profiles.wordpress.org/gwenm/) 2026 年 10 月 12 日

Thank you very much, very great plugin.

![](https://secure.gravatar.com/avatar/25e70cb71b253e8537d60c2fb5a0b114046c26b5f35b1e28296bf07c3a4f804a?
s=60&d=retro&r=g)

### 󠀁[Thanks](https://wordpress.org/support/topic/thanks-2615/)󠁿

 [hkhoi1589](https://profiles.wordpress.org/hkhoi1589/) 2026 年 7 月 31 日

This plugin saves me a lot of time

![](https://secure.gravatar.com/avatar/689578207878e255e2b44a9e32a5770a6a97062b93737fccf43b79d4d5097c11?
s=60&d=retro&r=g)

### 󠀁[Saves Me Big Trouble](https://wordpress.org/support/topic/saves-me-big-trouble/)󠁿

 [rmschwartz](https://profiles.wordpress.org/rmschwartz/) 2026 年 2 月 21 日

The WordPress Dashboard is busy, and I don't always pay attention to whether I'm
working on pages or posts. When I goof up, I can fix the problem instantaneously.
With out it — well — life is not so good. This should be a part of the Core.

![](https://secure.gravatar.com/avatar/dbb284821044d796abb891024e4b99313ce4ccafe3710eea29fb32335782cde3?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41246/)󠁿

 [holafreak](https://profiles.wordpress.org/holafreak/) 2026 年 1 月 30 日

I've used this plugin for a while now and it's amazing. Saves me a ton of time and
is simply straightforward.

![](https://secure.gravatar.com/avatar/df56c74587f1e09dc14e7664ec61ba803bba512733f9f5f7e8ee6017867b09bf?
s=60&d=retro&r=g)

### 󠀁[Thanks so much – that really saved me!](https://wordpress.org/support/topic/thanks-so-much-that-really-saved-me/)󠁿

 [SpeedX](https://profiles.wordpress.org/roicecz/) 2026 年 1 月 15 日

It does exactly what it’s supposed to. Thanks a lot!

 [ 閱讀全部 255 則使用者評論 ](https://wordpress.org/support/plugin/post-type-switcher/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Post Type Switcher〉的開發相關工作。

參與者

 *   [ John James Jacoby ](https://profiles.wordpress.org/johnjamesjacoby/)
 *   [ Matthew Gerring ](https://profiles.wordpress.org/beatpanda/)
 *   [ Andrew Norcross ](https://profiles.wordpress.org/norcross/)

〈Post Type Switcher〉外掛目前已有 35 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/post-type-switcher/contributors)
為這個外掛做出的貢獻。

[將〈Post Type Switcher〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/post-type-switcher)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/post-type-switcher/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/post-type-switcher/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/post-type-switcher/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/post-type-switcher/)。

## 變更記錄

#### 4.1.1

 * Restore the Block Editor interface by declaring all required WordPress script
   dependencies

#### 4.1.0

 * Require WordPress 6.6 and test through WordPress 7.1
 * Load Block Editor assets from their generated dependency metadata
 * Normalize request data before nonce and AJAX routing checks
 * Rely on WordPress core for plugin translation loading
 * Add maintained compatibility, quality, and release automation

#### 4.0.1

 * Prevent Authors & Contributors from changing types on posts of Editors & Admins

#### 4.0.0

 * Requires WordPress 6.2
 * Requires PHP 8.0
 * Improve block editor styling
 * Stash original & previous types in post meta
 * Add `pts_get_post_types_filter` filter
 * Load textdomain on `init` instead of `plugins_loaded`

#### 3.3.0

 * Hide the “Type” column by default

#### 3.2.1

 * Update author
 * Add sponsor link

#### 3.2.0

 * Block editor support

#### 3.1.0

 * Fix post targeting when called recursively

#### 3.0.0

 * Improved Quick-Edit and Bulk-Edit support
 * Remove `attachment` type support for now, as there is no way to switch back
 * Fix bug causing some post-types to switch unexpectedly

#### 2.0.1

 * Ensure quick-edit works with new procedure
 * Quick-edit “Type” column works again!

#### 2.0.0

 * Improved plugin compatibility with WooThemes Sensei
 * Filter post arguments vs. hook to save_post
 * Add “post_type_switcher” action

#### 1.7.0

 * Add support for network activation

#### 1.6.0

 * Add textdomains for localization
 * Load translation strings using load_plugin_textdomain()
 * Before saving data chack if it’s not an autosave using wp_is_post_autosave()
 * Before saving data chack if it’s not a revision using wp_is_post_revision()
 * Security: Prevent direct access to directories
 * Security: Translation strings escaping
 * Add screenshots

#### 1.5.0 – norcross

 * Fix multiple quickedit dropdowns

#### 1.4.0

 * Improve handling of non-public post types

#### 1.3.0

 * Fix saving of autodrafts

#### 1.2.1

 * Improved WordPress 3.9 integration (added dashicon to publish metabox)

#### 1.2.0

 * Add bulk editing to supported post types
 * Props Matthew Gerring for bulk edit contribution

#### 1.1.1

 * Add is_admin() check to prevent theme-side interference
 * Change save_post priority to 999 to avoid plugin compatibility issues
 * Remove ending closing php tag
 * HTML and PHPDoc improvements

#### 1.1.0

 * Fix revisions being nooped
 * Fix malformed HTML for some user roles
 * Make a singleton (meh…)

#### 1.0.0

 * Fix JS bugs
 * Audit post save bail conditions
 * Tweak UI for WordPress 3.3

#### 0.3.0

 * Use the API to change the post type, fixing a conflict with persistent object
   caches
 * No longer requires JavaScript

#### 0.2.0

 * Disallow post types that are not public and do not have a visible UI

#### 0.1.0

 * Release

## 中繼資料

 *  版本 **4.1.1**
 *  最後更新 **4 週前**
 *  啟用安裝數 **200,000+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [Albanian](https://sq.wordpress.org/plugins/post-type-switcher/)、[Arabic](https://ar.wordpress.org/plugins/post-type-switcher/)、
   [Catalan](https://ca.wordpress.org/plugins/post-type-switcher/)、[Chinese (China)](https://cn.wordpress.org/plugins/post-type-switcher/)、
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/post-type-switcher/)、[Dutch](https://nl.wordpress.org/plugins/post-type-switcher/)、
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/post-type-switcher/)、[English (Canada)](https://en-ca.wordpress.org/plugins/post-type-switcher/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/post-type-switcher/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/post-type-switcher/)、[English (US)](https://wordpress.org/plugins/post-type-switcher/)、
   [Finnish](https://fi.wordpress.org/plugins/post-type-switcher/)、[French (France)](https://fr.wordpress.org/plugins/post-type-switcher/)、
   [Galician](https://gl.wordpress.org/plugins/post-type-switcher/)、[German](https://de.wordpress.org/plugins/post-type-switcher/)、
   [Greek](https://el.wordpress.org/plugins/post-type-switcher/)、[Hebrew](https://he.wordpress.org/plugins/post-type-switcher/)、
   [Italian](https://it.wordpress.org/plugins/post-type-switcher/)、[Japanese](https://ja.wordpress.org/plugins/post-type-switcher/)、
   [Luganda](https://lug.wordpress.org/plugins/post-type-switcher/)、[Marathi](https://mr.wordpress.org/plugins/post-type-switcher/)、
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/post-type-switcher/)、[Polish](https://pl.wordpress.org/plugins/post-type-switcher/)、
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/post-type-switcher/)、
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/post-type-switcher/)、
   [Russian](https://ru.wordpress.org/plugins/post-type-switcher/)、[Serbian](https://sr.wordpress.org/plugins/post-type-switcher/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/post-type-switcher/)、[Spanish (Colombia)](https://es-co.wordpress.org/plugins/post-type-switcher/)、
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/post-type-switcher/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/post-type-switcher/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/post-type-switcher/)、[Spanish (Venezuela)](https://ve.wordpress.org/plugins/post-type-switcher/)、
   [Swedish](https://sv.wordpress.org/plugins/post-type-switcher/)、[Ukrainian](https://uk.wordpress.org/plugins/post-type-switcher/)、
   及 [Welsh](https://cy.wordpress.org/plugins/post-type-switcher/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/post-type-switcher)
 * 標籤:
 * [page](https://tw.wordpress.org/plugins/tags/page/)[post](https://tw.wordpress.org/plugins/tags/post/)
   [post type](https://tw.wordpress.org/plugins/tags/post-type/)[type](https://tw.wordpress.org/plugins/tags/type/)
   [types](https://tw.wordpress.org/plugins/tags/types/)
 *  [進階檢視](https://tw.wordpress.org/plugins/post-type-switcher/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  237 個 5 星使用者評論     ](https://wordpress.org/support/plugin/post-type-switcher/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/post-type-switcher/reviews/?filter=4)
 *  [  3 個 3 星使用者評論     ](https://wordpress.org/support/plugin/post-type-switcher/reviews/?filter=3)
 *  [  2 個 2 星使用者評論     ](https://wordpress.org/support/plugin/post-type-switcher/reviews/?filter=2)
 *  [  12 個 1 星使用者評論     ](https://wordpress.org/support/plugin/post-type-switcher/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/post-type-switcher/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/post-type-switcher/reviews/)

## 參與者

 *   [ John James Jacoby ](https://profiles.wordpress.org/johnjamesjacoby/)
 *   [ Matthew Gerring ](https://profiles.wordpress.org/beatpanda/)
 *   [ Andrew Norcross ](https://profiles.wordpress.org/norcross/)

## 技術支援

最近 2 個月解決的問題:

     總計 1 個問題，已解決 0 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/post-type-switcher/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://wordpressfoundation.org/donate/)