• Is there any possible way to move a bunch of categories at once into a parent category without doing them one by one. I have hundreds of categories that I would like to move into a parent but can’t figure out a way to do that quickly. Any plugins do this? I couldn’t find the right solution after searching for an hour or two on this topic.

    Any help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you can use phpMyAdmin, or another SQL interface, you can use a query like this:

    UPDATE wp_term_taxonomy
    SET parent = 11
    WHERE term_taxonomy_id IN (13,14,15)

    where 11 is the term_taxonomy_id of the parent category and (13,14,15) is a list of the term_taxonomy_id’s of the categories you want to make subs of 11.

    Of course, if your database prefix is not ‘wp_’, you will need to change that too.

    Thread Starter WPML

    (@wpml)

    Thanks vtxyzzy, I am not familiar or comfortable enough with that to attempt it. Is that the only option? Does anyone else know of any other ways to turn hundreds of categories at once into a parent?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to turn bulk categories into sub categories?’ is closed to new replies.