• Resolved Celeste

    (@celeste-9)


    I am trying to import records into a custom post type with with a custom non-hierarchical taxonomy (US States). I have separate each value with a comma, and selected the appropriate taxonomy in the mapping section. It imports them, but entries with multiple values are not imported as individual tags, but rather a lump of words separated by commas all as a single tag, like this:

    “Alabama,Alaska,California,Florida,Georgia,Louisiana,Mississippi,Nebraska,Nevada,New Mexico,New York,North Dakota,Oregon,Washington,Canada”

    As a test, I imported the same file as a built-in WP post and tags (not custom). They imported correctly this time, as individual tags, like this:

    Alabama
    Alaska
    California
    etc

    Any idea why the regular tags are working properly, but not the custom tags? And will this same problem occur with custom categories?

    Thanks,
    Celeste

    https://wordpress.org/plugins/wp-ultimate-csv-importer/

Viewing 2 replies - 1 through 2 (of 2 total)
  • @celeste-9,
    In our importer, the taxonomies should be separated by “|”. Replace the taxonomy values in your csv like this:

    “Alabama|Alaska|California|Florida|Georgia|Louisiana|Mississippi|Nebraska|Nevada|New Mexico|New York|North Dakota|Oregon|Washington|Canada”

    It will be created as the separated taxonomy like below,

    Alabama
    Alaska
    California
    etc

    Get the sample csv & cheat-sheets from here.

    Leave your valuable Rating & Feedback here.

    Thanks in advance,

    Thread Starter Celeste

    (@celeste-9)

    Thank you, this worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom taxonomy not importing correctly’ is closed to new replies.