這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Convert Post Types

描述

This is a utility for converting lots of posts or pages to a custom post type (or vice versa). You can limit the conversion to posts in a single category or children of specific page. You can also assign new taxonomy terms, which will be added to the posts’ existing terms.

This plugin is useful for converting many posts at once. If you’d rather do one at a time, use Post Type Switcher instead.

安裝

  1. Install a database backup plugin, like WP DB Backup. Make a backup of your database, and make sure you know how to restore your site using the backup. I’m not kidding. Do this first!
  2. Upload this plugin directory to /wp-content/plugins/
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Tools → Convert Post Types to convert your posts.

常見問題

Installation Instructions
  1. Install a database backup plugin, like WP DB Backup. Make a backup of your database, and make sure you know how to restore your site using the backup. I’m not kidding. Do this first!
  2. Upload this plugin directory to /wp-content/plugins/
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Tools → Convert Post Types to convert your posts.

評價

2019年11月21日
I needed to converts some blog posts to a custom post type and found this plugin with a google search. It worked perfectly on WP 5.3 and saved me a good our of time.
2018年4月17日
WordPress 4.9.5 No better plugin for converting categories to custom post types. And vice versa.
2017年5月5日
This plugin does easily allow you to "bulk" change from one post type to another. But keep in mind you need to have that post type already set up on your new site before you can convert it. The part of this plugin that does not work is that it doesn't assign the categories that were selected. It converts the post type, but it gives it a blank category. This requires you to manually look for the newly converted posts and manually assign the categories yourself. 🙁
2016年12月2日
Very nice plugin that did the job really well. Thumbs up to the author !
閱讀全部41個評價

貢獻者及開發者

“Convert Post Types” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Convert Post Types 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Convert Post Types 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.4

1.3.1

  • Fixed a problem with the “Convert” button overlapping the footer in WP 3.8x

1.3

  • Failing to select a to/from post type now gives an error instead of converting posts to an invalid type.
  • Things converted to posts do not receive the default category if other categories are set.
  • Flat taxonomies are now set correctly.
  • Various query-related bugs fixed, like all pages being converted even if a parent was chosen.

1.2.1

  • Fixed a notice on the admin screen.

1.2

  • Fixed compatibility problem with WordPress 3.3.
  • Using built-in functions instead of database queries for better caching and support for hooks.

1.1

  • Removed private post types (like nav menu items) from the dropdown menus to prevent accidents. Only public post types are available for switching.

1.0

  • First release (June 30, 2010)