Found Image Really Simple CSV Importer | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
98%
4.9 Stars (101 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Takuro Hishikawa
Version: 1.3
Requires: WP 3.6
Last Updated:3714 days ago
Downloads:216234
Installations: 60,000+
Tags:
    acf, cfs, csv, importer, scf
Download Plugin Package

Really Simple CSV Importer

Released on September 22, 2013.
Download Plugin Package

Version: 1.3

Alternative CSV Importer plugin. Simple and powerful, best for geeks.

  • Description
  • FAQ
  • Changelog
  • Installation


Alternative CSV Importer plugin. Simple and powerful, best for geeks.

  • Category support
  • Tag support
  • Custom field support
  • Smart Custom Fields support
  • Custom Field Suite support
  • Advanced Custom Fields support
  • Custom Taxonomy support
  • Custom Post Type support
  • Filter hook for dry-run-testing
  • Filter hooks for customize csv data before importing to database
  • Action hook for update post data after importing to database

You can get example CSV files in /wp-content/plugins/really-simple-csv-importer/sample directory.

Available column names and values:

  • ID or post_id: (int) post id.
    This value is not required. The post ID is already exists in your blog, importer will update that post data. If the ID is not exists, importer will trying to create a new post with suggested ID.
  • post_author: (login or ID) The user name or user ID number of the author.
  • post_date: (string) The time of publish date.
  • post_content: (string) The full text of the post.
  • post_title: (string) The title of the post.
  • post_excerpt: (string) For all your post excerpt needs.
  • post_status: ('draft' or 'publish' or 'pending' or 'future' or 'private' or custom registered status) The status of the post. 'draft' is default.
  • post_password: (string) The password to protect the post. The password is limited to 20 characters.
  • post_name: (string) The slug of the post.
  • post_parent: (int) The post parent id. Used for page or hierarchical post type.
  • menu_order: (int)
  • post_type: ('post' or 'page' or any other post type name) (required) The post type slug, not labels.
  • post_thumbnail: (string) The uri or path of the post thumbnail.
    E.g. http://example.com/example.jpg or /path/to/example.jpg
  • post_category: (string, comma separated) slug of post categories
  • post_tags: (string, comma separated) name of post tags
  • tax_{taxonomy}: (string, comma separated) Any field prefixed with tax_ will be used as a custom taxonomy. Taxonomy must already exist. Entries are names or slugs of terms.
  • {custom_field_key}: (string) Any other column labels used as custom field
  • cfs_{field_name}: (string) If you would like to import data to custom fields set by Custom Field Suite, please add prefix cfs_ to column header name.
  • scf_{field_name}: (string) If you would like to import data to custom fields set by Smart Custom Fields, please add prefix scf_ to column header name.
  • comment_status: ('closed' or 'open') Default is the option 'default_comment_status', or 'closed'.

Note: Empty cells in the csv file means "keep it", not "delete it".
Note: To set the page template of a page, use custom field key of _wp_page_template.
Note: If providing a post_status of 'future' you must specify the post_date in order for WordPress to know when to publish your post. Note: If the post_type value is attachment, you can use post_thumbnail field to define media URL or path.

Advanced Custom Fields plugin integrate

If advanced custom field key is exists, importer will trying to use update_field function instead of built-in add_post_meta function.
How to find advanced custom field key: Finding the field key

Official public repository

Add star and read future issues about rs-csv-importer on GitHub!

Thanks

Cover banner designed by @luchino__

Should I fill all columns of post data?

No. Only columns which you want to update.

Can I update existing post data?

Yes. Please use ID field to specify the existing post.

Can I insert post with specific post id?

Yes. Please use ID field to specify the new post ID.

Can I import custom field/custom taxonomy of the post?

Yes. You can use column names same as wp_post table, but if the column name does not match, it creates a custom field (post meta) data. Importing custom taxonomy is a bit more complicated, "tax_{taxonomy}" means, "tax_" is prefix, and {taxonomy} is name of custom taxonomy (not labels).

Here is an example.

csv file
"post_title","released","tax_actors"
"Captain Phillips","2013","Tom Hanks, Barkhad Abdi, Barkhad Abdirahman"

imported post data
Post Title: Captain Phillips
Custom field "released": 2013
Custom taxonomy "Actors": Tom Hanks, Barkhad Abdi, Barkhad Abdirahman

Why should I quote text cells when I save csv file?

Because PHP cannot read multibyte text cells in some cases.

Locale setting is taken into account by this function. If LANG is e.g. en_US.UTF-8, files in one-byte encoding are read wrong by this function.

Can I insert multiple values to CFS or ACF fields like Select or Checkbox?

Yes. Please create additional plugin and use really_simple_csv_importer_save_meta filter to make array data.

Add-on development example

1.3

  • Some Enhancements (Thanks @piwi!)
    • Attachment support
    • Add "really_simple_csv_importer_save_thumbnail" Filter
    • French translations
  • Support post date GMT
  • Support post password

1.2

  • Enhancement: Smart Custom Fields support
  • Check if the provided post status is already registered

1.1

  • Enhancement: Support localization
  • Bug fixes

1.0

  • Enhancement: Replace a helper class to more better one
  • Enhancement: Add action hook
  • Bug fixes

0.6.3

  • Enhancement: Remove Byte Order Mark automatically (Thanks lucianosantana!)

0.6.2

  • Fix error on PHP 5.2

0.6.1

  • Bug fix: enables to import "0" value

0.6

  • Enhancement: Custom Field Suite support
  • Enhancement: Add ability to override save_post method
  • Performance Improvements

0.5.7

  • Enhancement: Add dry run filter

0.5.6

  • Bug fix: Fails to update empty custom field value.

0.5.5

  • Bug fix: Fix to enable to update post meta values.

0.5.4

  • Enhancement: Check the post type is already exists.
  • Update readme

0.5.2

  • New feature: Add Post Thumbnail support
  • Bug fixes

0.5.1

  • Enhancement: Check whether both posts has same post type when updating.

0.5

  • New feature: Added filter hooks to customize import data

0.4.2

  • Post title bug fix

0.4.1

  • Version fix

0.4

  • New feature: Added custom taxonomy support. (Thanks chuckhendo!)

0.3

  • New feature: Advanced Custom Fields integrate.
  • Enhancement: Use post_id if not already present when inserting post.

0.2

  • New feature: Add post_id column. It enables to update post data.
  • Some bug fixes

0.1.1

  • Bug fix

0.1

  • First Release (beta)


  1. Upload All files to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the Import page under Tools menu.
  4. Click CSV link, read the notification, then just upload and import.


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string R2b97M to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.