• I have a hierarchical taxonomy called “locations”. I was able to import all of the taxonomy values. Now I want to import the currently selected location into a custom Post type called “item”. The CSV file currently contains two columns: “location” and “sub-location.”
    I assume that I will have to concatenate these two columns but I don’t know the format. Is it as simple as separating the two values by a comma? And what happens if there is a location but no sub-location?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter awjensen

    (@awjensen)

    Btw the ACF field type is Taxonomy

    Plugin Author ImportWP

    (@jcollings)

    I have made some modifications to the ACF addon, can you please download the lastest version: https://github.com/jcollings/importwp-advanced-custom-fields/archive/refs/tags/2.2.1.zip as now has integration with the taxonomy field.

    If you enter your csv selectors seperated by commas e.g.

    {0}, {1}

    Only values that are present will be added to the taxonomy field e.g. Location and sub locations names, empty ones will be ignored.

    Thread Starter awjensen

    (@awjensen)

    Got this error message when I tried to activate:

    Fatal error: Cannot redeclare iwp_acf_requirements_met() (previously declared in /home/s2dp5yjzt650/public_html/museum2.48thhighlanders.ca/wp-content/plugins/importwp-advanced-custom-fields-2.0.2/advanced-custom-fields.php:17) in /home/s2dp5yjzt650/public_html/museum2.48thhighlanders.ca/wp-content/plugins/importwp-advanced-custom-fields-2.2.1/advanced-custom-fields.php on line 15

    Plugin Author ImportWP

    (@jcollings)

    This error is due to you having 2 versions of the importwp-advanced-custom-fields plugin, deactivate the old one before activating the latest one.

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