View Single Post
Old 09-08-2017, 03:51 AM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,332
Quote:
Originally Posted by magneto664 View Post
tnx for it. I work now with tags. how to wrote value from custom field to tags?
Depends on how exactly the tags are formatted in the XML file. E.g. if they are comma-delimited, you can import them with this code:

Code:
$post['tags_input'] = explode(',', $post['custom_fields']['some_custom_field']);
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote