import of Categories: designate child categories
This topic contains 18 replies, has 3 voices, and was last updated by Paolo 9 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: categories, child categories, import
-
AuthorPosts
-
May 30, 2015 at 11:36 pm #41103
I really like the new import Categories feature! I have a client working on cleaning up their categories list.
Is there a way to designate child categories in the import? Or is that only possible manually through the dashboard?
June 1, 2015 at 3:17 pm #41189HI Bet,
good question, I need to ask to developer if that is possible.
i’ll get back to you asap.
Thanks
June 1, 2015 at 4:04 pm #41208Thanks, Paolo! I have the CSV of the Categories back from the client, so when you get back to me, I’ll be good to go!
June 1, 2015 at 4:51 pm #41213Also, can a category be a child category of two parents? For instance, “Business Law” might be a child of both “Business” and “Law”…
And if so, how can I indicate this on the import?
June 1, 2015 at 5:21 pm #41219WordPress won’t allow that. Each sub category can only have 1 parent.
You’d have to create 2 separate sub-categories, 1 for each parent.
Thanks
June 2, 2015 at 3:11 am #41257Did you all ever figure out if there is a way to designate child categories in the import? Or is that only possible manually through the dashboard?
June 2, 2015 at 1:23 pm #41299If you add the slug of the subcategory AND the slug of the category, it should import correctly. See also
https://wpgeodirectory.com/support/topic/import-subcategories/June 2, 2015 at 4:15 pm #41311Hi Bet,
I’ve asked to Kiran and we overlooked importing subcategories with the new category CSV import/export feature.
We already added it and it will be in the next version.
I think Kiran already pushed the changes into the development version available on GitHub.
If it isn’t yet, it’s because Stiofan must approve it before and today Stiofan is off. So it could be that it won’t available until tomorrow.
Thanks
June 2, 2015 at 5:20 pm #41317Guust, are you saying that if for example, I want to make “Tax Accounting” a subcategory of “Accounting”, in the import line for Tax Accounting, I would make it’s slug: “accounting/tax-accounting”, and that would make it a subcategory?
June 2, 2015 at 5:34 pm #41321no Bet, I think Guust miunderstood your question.
Once you created your categories and sub-categories, you can import listings and add: “category, subcategory” in the category field and the listing will be added for both.
But you currently can’t import sub-category via CSV file with the new import/export tool.
Kiran already fixed this and it will be in the next version. There will be an extra field named “parent”. If the field is left blank you add a category if in the field you write a categeory name, the new entry will be added as a sub-category for that parent catgeory.
Thanks
p.s. I replied to your email but got a delivery error. I’ll reply here.
To sync the new add-on purchased simply go to your account page and click again on the sync forum access link : https://wpgeodirectory.com/support/members/bethannon/
Let us know
June 2, 2015 at 8:35 pm #41352Can I test out the beta version of the update with the subcategory import for you?
June 2, 2015 at 9:08 pm #41360I’m sure you can, but I’m not 100% sure Stiofan approved the pull request on the GitHub version yet. If he hasn’t he will tomorrow (today he was off)
Thanks for your patience,
June 4, 2015 at 2:13 am #41501So do we know if the GitHub version includes subcategory imports yet?
June 4, 2015 at 6:33 pm #41576Stiofan says it has…
June 9, 2015 at 3:10 am #41860OK. Got a chance to try the github update.
The child categories did seem to import just as they were supposed to, but the import “hung” at 99% complete, telling me that it was at 1010 of 1014 items, but when I looked in a separate tab at the categories, it only shows 990 categories.
After a lot of searching, I found that there were a couple of categories where there was some duplication, which were skipped–understandable. I exported the categories from the site, then compared this to what I uploaded. There were about 15-20 items “missing” from the export from the site. BUT, when I searched for them from the dashboard, all those categories were in the site already. Weird.
I think I’m set now, except for the category icons.
One thing that would be very helpful on your sample csv for importing would be to show an example entry for cat_icon that is custom & uploaded. I have tried: http://rotaryyp.org/wp-content/uploads/2015/06/map-pin-yellow-th.png, and rotaryyp.org/wp-content/uploads/2015/06/map-pin-yellow-th.png, and wp-content/uploads/2015/06/map-pin-yellow-th.png. And it’s still not working.
Is there a way to set a custom category icon as a default for all categories?
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket