{Categories}>{Categories-2}>{Categories-3}>{Categories-4} it’s supposed to be like this.
In my test, I only used a data with 2 levels full. {Categories-2} came selected. But I want all filled levels to be selected. How can I write this? (I looked at the documentation and there is nothing)
I have a question along the same lines, only with importing a .csv file rather than XML.
I have a Parent>Child>Grand-child category structure. To keep it clean on the front-end, I only select the Grand-child category, not the Child or Parent. How would I enter my category into the .csv in order to replicate this in a bulk import, where only the Grand-child is selected? When I enter Parent>Child>Grand-child into the .csv all three are selected in the post.
To achieve the desired result, please enter only the Grand-child category name in the ‘post_category’ field of your import file. This ensures that only the Grand-child category is selected during the bulk import, keeping the Parent and Child categories unselected.
Ahh okay. Thank you. That worked. For some reason I didn’t think it would recognize the existing category or the fact that it was a child category, but it properly detected existing categories and their grand-child or child level.