Docs>Import WP Importer>How to guides

How to Import WordPress Taxonomies onto a Post Type

Taxonomies can be imported on WordPress Pages, Posts, Custom post types, and all templates using these as a base. The taxonomy tab will appear in your importer if the post type being imported has registered taxonomies.

Taxonomies terms can be imported via there own Taxonomy Term Importer Template.

Import a taxonomy

To add a new taxonomy term click on the Add Row button at the bottom of the taxonomies panel, this will insert a new row.

OptionsDescription
TaxonomyThe taxonomy field allows you to select which taxonomy the term you are importing belongs to, if the taxonomy you are looking for is not in the list, you can manually or dynamically enter it by checking the enable text field to switch to a text input.
TermsSelect the data from your import file that you want to import into the selected taxonomy, you can import multiple terms by separating them with a comma, as each will be imported as a separate term.
Enable HierarchyIf your terms should be nested in a specific hierarchy set by predefined character e.g. “Parent Term > Child Term”, then you can configure this by setting enable hierarchy to Yes.
Hierarchy CharacterSet which character is used to specify the hierarchy.

How to change the terms value delimiter / seperator

By default entering multiple values in the terms field seperated by a comma will import multiple terms.

You can change the taxonomy term delimiter / seperator by using the following code

add_filter('iwp/taxonomy/value_delimiter', function($delimiter){
    return ','; // change the , to any character e.g. | ; or #
});

Next Section