WordPress.org

Ready to get started?Download WordPress

Forums

Convert Tags to Taxonomy Tags (23 posts)

  1. saschapi
    Member
    Posted 3 years ago #

    I'm looking for information on how to convert/import common WP-tags to custom taxonomies. It would be a pain in the ass to go to every single post and re-tag everything into my new taxonomies... :(

    Anyone got a solution fot this?

    thanks Sascha

  2. Ian
    Member
    Posted 3 years ago #

    I'm also looking for a solution to this. Did you find one?

  3. anabelle
    Member
    Posted 3 years ago #

    Me too!

  4. Ian
    Member
    Posted 3 years ago #

    Any luck? I still badly need this.

  5. zota
    Member
    Posted 3 years ago #

    I'm still looking for this too.

    Another post on the same topic -
    http://wordpress.org/support/topic/splitting-out-old-tags-into-new-custom-taxonomies

  6. Ian
    Member
    Posted 3 years ago #

    Yeah, thanks for the link - I'll follow both threads.

    I feel like it has to be something someone is working on.

  7. zota
    Member
    Posted 3 years ago #

    Someone paid to have this done a few months ago. Looks like they probably re-wrote the wpcat2tag-importer plugin.

    http://www.odesk.com/jobs/Wordpress-Tags-Taxonomies-Converter-Plugin_~~90e1e3dd2dc5f863#reloaded

    So it's been done. Anyone want to share?

  8. Ian
    Member
    Posted 3 years ago #

    Yes please! I don't have much but I'll donate a little to the developer if they post it.

  9. zota
    Member
    Posted 3 years ago #

    I'm not familiar with that site, and don't know how to contact the developer. Just noting that this problem seems to have been solved, but the solution does not appear to be publicly available.

    Lot's of people need it though. Here's another one:
    http://stackoverflow.com/questions/4167706/wordpress-custom-taxonomies-conversion-and-filtering

  10. Ian
    Member
    Posted 3 years ago #

    I appreciate the links. I couldn't figure out that site either. :(

  11. elfin
    Moderator
    Posted 3 years ago #

    Might be useful to also try out some of the existing plugins to see if they help at all:
    http://wordpress.org/extend/plugins/ultimate-taxonomy-manager/

    looks close to what is wanted, but would need testing I think. But I don't know of a solution myself.

  12. elfin
    Moderator
    Posted 3 years ago #

    additionally I 've closed the other thread, no point having 2 threads on the same issue.

  13. zota
    Member
    Posted 3 years ago #

    Ultimate Taxonomy Manager does almost everything except this.

    The closest thing I could find was the category-tag importer:
    http://wordpress.org/extend/plugins/wpcat2tag-importer/
    If it were custom taxonomies instead of categories, it would be exactly what I need.

  14. polins
    Member
    Posted 3 years ago #

    This is built into WP 3.0.1

    -Open Dashboard>Posts>Post Tags
    -Click on the number in the Posts column corresponding to the tag you're interested in
    -Select "Title" — Edit — Apply
    -Your Custom taxonomy will now show up as an option box; just type in the value for the taxonomy that you desire.

  15. Ian
    Member
    Posted 3 years ago #

    Polins, we're looking for a way to convert EVERY SINGLE TAG all at once to parts of a different taxonomy.

    I'm actually not even sure what "title" you're talking about (sounds like you're referring to a single post or editing one tag), but I don't think I've found a single way to do what we're requesting in vanilla wordpress.

  16. zota
    Member
    Posted 3 years ago #

    Polins, what you're describing takes you to the quick edit panel for an individual post. Hand-editing each tag in each post is exactly what we want to avoid.

    Bulk taxonomy conversion is not built in, but WordPress desperately needs it.
    http://wordpress.org/support/topic/taxonomy-management

  17. Stephanie Leary
    Member
    Posted 3 years ago #

    If any of you have a development site and would like to test an updated category/tag converter that includes custom taxonomies, you can grab it from my Trac ticket. In my tests it works on 3.0 and 3.1; I haven't tried any older versions of WP.

    Please, please back up your database first! And let me know how it goes.

  18. Ian
    Member
    Posted 3 years ago #

    Thanks for the update, Stephanie! I'll give it a shot!

  19. Comparativa de Bancos
    Member
    Posted 3 years ago #

    Hello,

    I have been using it and it works pretty well but a couple of things:
    * When converting many taxonomies at the same time it crash so I had to do it in groups of around 15 taxonomies at a time.
    * When taxonomies are moved, in every single post you can correctly see the new taxonomy but in the list of categories you see a "0" so when you try to visualize the list of posts you don't see any post.

    I.e. /taxonomy1/item1 moved to /category/item1/, then in mysite.com/category/item1 there are no posts.

    It is like if it is not updated in the database because when you edit a single post you can see that the new category is correctly checked but only when you save again that post, the post is added to the category count.

    What I have done to solve this is installing Simple Tag plugin and going to the "Mass editor" > category and then "update all" so all the posts are "resaved".

    BR

  20. 416member
    Member
    Posted 3 years ago #

    Hi Stephanie,

    Thank you so much for the modified version of the category/tag converter.

    It really made my life easier.

  21. mark7694
    Member
    Posted 2 years ago #

    Just ran into this problem and desperately trying to find a solution. It looks like this has gone on for almost a year with no resolution? Is there still no plugin that allows for mass conversion of tags to taxonomies for custom post types?

  22. ericperson
    Member
    Posted 2 years ago #

    I am looking for a tool that does this too. Moves terms from one taxonomy to another.

  23. philipwalton
    Member
    Posted 2 years ago #

    This isn't exactly what you all are looking for, and it's kinda hackish, but here's how I converted a group of my categories to a custom taxonomy.

    1) Go into the database and rename everything in the term_taxonomy table that's currently post_tag to a unique (but temporary) name, like post_tag_temp.
    UPDATE wp_term_taxonomy SET taxonomy = 'post_tag_temp' WHERE taxonomy = 'post_tag'

    2) Then, using the category to tag plugin, convert the categories you want to tags. Since you've temporarily renamed all the tags, what are now tags can be renamed to whatever you want.

    3) In the database, convert all tags to whatever custom taxonomy you've registered.
    UPDATE wp_term_taxonomy SET taxonomy = 'custom_taxonomy' WHERE taxonomy = 'post_tag_temp'

    4) Finally, convert the original tags back to normal.
    UPDATE wp_term_taxonomy SET taxonomy = 'post_tag' WHERE taxonomy = 'post_tag_temp'

    Hope that helps. Oh, and don't forget to backup your database before doing it.

Topic Closed

This topic has been closed to new replies.

About this Topic