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'm tired of typing in lists of counries in my "Countries" taxonomies. What's a good way to bulk import a long list of terms into Wordpress ?

share|improve this question
    
I know this is an old question, but just incase any one else is looking, I just ran across Bulk press plugin: wordpress.org/extend/plugins/bulkpress and wordpress.org/extend/plugins/wp-ultimate-csv-importer which both look good. I just gave bulk press a try and it worked just fine to drop 48 neighborhoods into a taxonomy. –  Chrisdigital May 11 '13 at 5:40
add comment

3 Answers

up vote 6 down vote accepted

Put list in PHP array, loop through it, use wp_insert_term() on each.

share|improve this answer
add comment

You may need to experiment with the WordPress Importer plugin. You may need to export the taxonomy list from one categorization, and then import it. Outside of that tool, the other way would be to import the list in csv format into your database. However, you will need to have the taxonomy list in csv format. I am not sure if you need to import the list of countries multiple times, but am assuming you do since you are "tired" of typing lists.

share|improve this answer
add comment

The Wordpress plugin Simple Taxonomies provides a tool to create taxonomy terms from a list. Once you install the plugin, go to Tools... Terms Importation... I hope this helps someone.

share|improve this answer
    
Not even a link to that plugin? –  toscho Oct 10 '12 at 16:48
add comment

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.