Sillybean

New plugin: Convert Post Types

I’m moving some old posts over to a new post type now that I’ve upgraded the sites at work to WordPress 3.0, and I needed a way to convert hundreds of posts in a category. The Post Type Switcher plugin does a nice job, but only on one post at a time. So, I wrote my own: 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.

Download Convert Post Types wordpress.org »

Convert Post Types options

Posted on June 30, 2010 at 1:59 pm in WordPress · 17 comments

Sharing this post? The short URL is: http://sillybean.net/?p=5564

17 Responses to “New plugin: Convert Post Types”

  1. JeremyT says:

    Oh, I can see this being very useful with the upgrade to WP3.0. Thanks!

  2. Ryan says:

    It save me a lot, very useful. Perhaps WP Dev should make it to the core. Thanks for the plugin!

  3. Kai says:

    Hey, great work. saved me a lot of work.

  4. Rein says:

    First of all great plugin, saved me a lot of time, and i hope it’s going to save me a lot more time in the future :)

    One problem: I’s not converting pages, well it says it does but if i’m am trying to convert all pages to a custom post type it says it’s done (no list of pages names is shown) but it does nothing..
    For posts it works fine!

    I am running WP 3.0.1
    Any solution?

  5. Christopher Wulff says:

    Hi Stephanie,

    I was just wondering if you were considering updating this awesome (!) plugin to handle conversions to post formats when 3.1 goes live. I have a site with all of my client’s tweets stored as posts in a category, but would love to change them all over to the status format instead (and would prefer to avoid going one by one on several thousand).

    Thanks for all your work. Cheers!

  6. You just saved me alot of time, thanks

  7. Adam Forster says:

    Great little plugin there, saved me a lot of time on a site revamp.

  8. Mark says:

    Any idea if this works with WordPress 3.2.1? I really need a plugin like this to convert a few hundred posts to a new custom post type and I’d rather not hose my db.

    Thanks!

  9. Brett says:

    Is it just me, or do all custom fields get lost during this process…? Maybe these additional queries aren’t a part of this plugin. Thanks for a fantastic tool. Please clarify if you can to save me and others from discovering what I think I just did. No custom fields?

  10. Christian says:

    I’d love this plugin, if I could set it up running ;)

    I’m using WP 3.3 and have to change a mass of posts into a custom post_type. But an error occures and nothing is done :(

    Fatal error: Cannot redeclare bulk_convert_posts_add_pages() (previously declared in /www/htdocs/xxx/wp-content/plugins/convert-post-types/convert-post-types.php:15) in /www/htdocs/xxx/wp-content/plugins/convert-post-types/convert-post-types.php on line 17

    Is it me or has this something to do with the new WP 3.3?

  11. abid says:

    you saved my day really. i was finding trouble to post pages in my 2 site acmepanel and microearning. Thank u. hope to hear new tips from u

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>