该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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. 通过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. 通过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. 🙁
阅读所有42条评价

贡献者及开发者

“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)