WordPress.org

Support

Support » Plugins and Hacks » CSV Importer » Import hierarchical taxonomy terms

Import hierarchical taxonomy terms

  • I have taxonomy with 3 levels of hierarchical terms: State>County>District. I tried importing them by adding this to every cell under csv_ctax_state column:
    —————————-
    0,Arizona
    Arizona, county1, district1
    ———————–

    this imports only the parent term “state” and second level term “county”. Is there a way to import the “district” terms too?

    thanks

    http://wordpress.org/extend/plugins/csv-importer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • the following format seems to link posts to the hierarchical taxonomy.

    —————————-
    0,State
    State, County
    County, District
    ———————–

    However, the problem is when a county exists with same name under another state, or same district name under another county. In this case, the post is linked to existing county or district, it doesn’t take the top lovel “State” into consideration.

    any idea?

    Did you find any solution to your second problem as I am curious to know if it can be managed by this plugin?
    Thanks,

    I think this should do it:
    “State, County
    0, State
    County, District”

    I’ve been successful using only the slug of the term at the bottom, which in this case would be district

    My solution to that exact issue is to classify them as one would in a zip code lookup method.
    ex:
    US
    US-state
    state abbreviation+county
    so it would look something like

    0,USA
    USA,Arizona
    Arizona,AZ-Phoenix
    etc

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Import hierarchical taxonomy terms’ is closed to new replies.
Skip to toolbar