2

I have a WordPress install that has a ton of categories. I want to convert some of these categories into a custom taxonomy. For example, I have:

Categories:

  • Category A
    • Subcategory 1
    • Subcategory 2
  • Category B
    • Subcategory 1
    • Subcategory 2
  • Category C
    • Subcategory 1
    • Subcategory 2

And I would like to make Category C and all of its subcategories into a completely separate custom taxonomy. Is there a way that I can make this conversion, while keeping the relationships between Category C and existing posts intact?

1 Answer 1

1

You can create whatever new taxonomies you want to by adding register_taxonomy() function in functions.php

After that you can simply assign all the posts related to Category C to that custom taxonomy using Convert Post types plugin.

10
  • Thanks for the response. I don't want to change post types, as they are all WordPress' native posts. And some posts may be categorized in Category A and Category C. Do you happen to know is this plugin will allow for that functionality? I will check it out later today.
    – Ryan
    Sep 28, 2012 at 15:15
  • You can use this plugin for converting posts from a category or custom taxonomy to another category or custom taxonomy on bulk.
    – swtshweta
    Sep 28, 2012 at 17:00
  • I have the plugin installed, but I can't seem to find how to change categories to custom taxonomy. Under "Convert From" and "Convert To" I only see Post, Page, and Attachment. I don't see Category or Taxonomy as options.
    – Ryan
    Sep 28, 2012 at 19:49
  • Since, you are not converting posts from post/page to custom post type, so you can select "Convert From post" and "Convert to post" options and then you can select the category from which post needed to be converted from "Limit Post Category" drop down. After that you can assign custom taxonomy to it from the taxonomy listing appearing at the bottom. Does this makes sense?
    – swtshweta
    Sep 29, 2012 at 1:07
  • Yes, it does! Thanks for all of your help. I'll give this a shot.
    – Ryan
    Sep 29, 2012 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.