I’m exporting a custom post type and it has a custom taxonomy.
The taxonomy is hierarchal. The parent taxonomies don’t themselves have any posts assigned to them but the child taxonomies do.
So when I export the post type and import to another site with the custom post type set up the posts and taxonomies are imported BUT the hierarchy isn’t maintained. The parent categories aren’t brought over and the child categories are showing up as top level categories.
I can see why this happens but I don’t know if it should be the default behaviour or maybe it should be.
Does anyone know of a way to make sure it exports all the categories even if they’re empty (when they’re technically not empty)?
- The topic ‘Exporting posts and taxonomy hierarchy not being maintianed’ is closed to new replies.