Import in Custom Post-Type
-
Hi,
it works nice job guys I bought the premium version and the import is running great.Now I have a calendar in my theme, and I have to use it. Because I need a Filter and a Grid view by country etc… anyway.
I want to import via your PlugIn into to other Event Plugin. So it should fill all the SQL Tables of the other plugin. So I have to create a mapping, my question is it only to adjust the fb_import_action.php.
e.g. start_time change to Otherpostype_Start_time, or do I missed something?
$i++;
update_post_meta($post_id,’event_timezone’,$timezone);
update_post_meta($post_id,’start_time’,$startDate);
update_post_meta($post_id,’event_starts’,$startDate);
update_post_meta($post_id,’event_starts_sort_field’,$startDate);
update_post_meta($post_id,’event_ends’,$endDate);
update_post_meta($post_id,’end_time’, $endDate);
update_post_meta($post_id,’facebook_event_id’, $eId);
update_post_meta($post_id,’location’,$location);
update_post_meta($post_id,’ticket_uri’,$ticket_uri);
update_post_meta($post_id,’fb_event_uri’,$fb_event_uri);
update_post_meta($post_id,’geo_latitude’,$lat);
update_post_meta($post_id,’geo_longitude’,$long);
update_post_meta($post_id,’venue_email’,$emailAddress);
update_post_meta($post_id,’venue_phone’,$phone);
update_post_meta($post_id,’venue_website’,$website);
update_post_meta($post_id,’facebook’,’https://facebook.com/’.$username);
update_post_meta($post_id,’venue_desc’,$venue_desc);
update_post_meta($post_id,’venue_name’,$venue_name);}
- The topic ‘Import in Custom Post-Type’ is closed to new replies.