






Hello,
I wonder if the following should work out of the box or if I am doing it wrong:
Import Dump with Categories and Tags: Categories (Dump field “Categories”) get assigned to WP Categories and Tags (Dump field “Tags”) to WP Tags. Categories should be created if not already there.
This does not work as expected. When not using any php code, categories get created yes, but tags transform also to categories.
When using “$post[‘tags_input’] = explode(‘,’, $post[‘custom_fields’][‘tags’]);”, the tags from the dump transform to tags AND categories. (I set tags->tags before)
When using “$post[‘tags_input’] = explode(‘,’, $post[‘custom_fields’][‘tags’]);” AND $post[‘categories’] = array(); tags are only tags which is correct but the only the “uncategoried” category is set, no new categories get created.
So what do I need to do if I want the tags from the dump file to be the WP tags and the categories to be the WP categories? I hope this is possible without heavy php code or so?
10:32 pm

August 26, 2013

Hey, just to be sure, I just want to mention the tags actually worked with the PHP snipped I had before, the categories were the problem. And using your new tags code results in only having the “uncategorized” category and no other categories or tags. Not really complaining, as I can wait until the update, just trying to help.
p.s. when deleting $post[‘categories’] = array(); and keep your new snippet it results in having the tags + categories from the dump file both as WP categories
Most Users Ever Online: 105
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 350
Members: 1928
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1331
Posts: 6637
Administrators: CyberSEO: 3102