Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I imported hundreds of locations and other categories. Now I have a list of locations in categories to which I would like to assign the "Location" category as its parent.

I have tried sql but the structure is a bit too complex. And I looked around for a plugin but with no luck.

Thanks a lot for helping.

share|improve this question

2 Answers 2

The parent field in wp_term_taxonomy links a category with its parent category. Get the id of this "Location" parent category and update the wp_term_taxonomy for every location to link them with its parent one.

share|improve this answer

I found this plugin that is quite useful: http://wordpress.org/extend/plugins/term-management-tools for doing what you want to do.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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