Custom Taxonomies not retaining hierarchy while importing from one site to another
Question
On my site I have a Custom Post Type “listing” which has a hierarchial Taxonomy “local”.
The terms in this taxonomy are in the form of States > Cities.
For example “Washington” is a parent term & Arlington, Auburn, Davenport etc could be it’s child taxonomies.
Now when I export & import this Custom Post Type to another site, my child level taxonomies become top level taxonomies, they no longer retain the hierarchy.
I have used code in functions.php to create these, no plugins. What am I doing wrong?
0
custom-taxonomy, hierarchical
9 years
2013-08-27T02:21:51-05:00
2013-08-27T02:21:51-05:00 0 Answers
75 views
0
Leave an answer