About this plugin
This simple plugin allows you to import any type of data from large CSV files into your wordpress installation.
Plugin reads CSV file and performs import of its records one by one through AJAX requests, so there are no server timeout issues.
You only need to provide PHP function to perform import of CSV field values into post or taxonomy term or whatever you need.
Usage example:
For example, assume we want to import posts from such CSV file:
title,text,brand,image
png”
png”
Here we have post title, post content, custom field Brand and thumbnail image.
php file to implement import function:
"; return; }
update_post_meta($post_id, 'brand', $row['brand']);
if ($row['image']) LargeCSVImportHandlerPlugin::download_post_thumbnail($post_id, $row['image']);
$post_id; }
After that we can go to plugin admin page, select CSV file to upload and click “Start import” button. Import process will begin.