Linux 软件免费装

Simple CSV Importer

开发者 apsaraaruna
更新时间 2021年11月27日 14:08
捐献地址: 去捐款
PHP版本: 5.4 及以上
WordPress版本: 5.8.2
版权: GPLv2 or later
版权网址: 版权信息

标签

acf csv importer custom posts cfs scf

下载

详情介绍:

Alternative CSV Importer plugin. Simple and powerful, best for geeks. You can get example CSV files in /wp-content/plugins/simple-csv-importer/sample directory. Available column names and values: 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

安装:

  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.

升级注意事项:

1.0.0 Almost not updating plugin and making with suitable for nowaday.

常见问题:

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","singer","genre","released_date" "Shape of You","Ed Sheeran","Pop", "06-01-2017" imported post data\ Post Title: Shape of You\ Custom field "singer": Ed Sheeran\ Custom field "genre": Pop\ Custom taxonomy "released_date": 06-01-2017

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 simple_csv_importer_save_meta filter to make array data.

更新日志:

1.0.0