Linux 软件免费装
Banner图

Miller Media CSV Importer

开发者 MillerMediaNow
hissy
更新时间 2026年11月21日 11:23
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

import acf csv importer custom-fields

下载

2.0.2

详情介绍:

This plugin is a maintained fork of Really Simple CSV Importer originally created by Takuro Hishikawa. We are grateful for his work and his blessing to continue this project. Miller Media CSV Importer adds a "Miller Media CSV Importer" item to Tools → Import. Upload a CSV file and the plugin creates or updates posts, pages, or any custom post type, along with categories, tags, custom taxonomies, featured images, and custom fields (including Advanced Custom Fields, Custom Field Suite, and Smart Custom Fields). Features

安装:

  1. Upload the plugin files to the /wp-content/plugins/miller-media-csv-importer directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Tools → Import and click Miller Media CSV Importer (or use the "Import CSV" link on this plugin's row on the Plugins screen).
  4. Follow the on-screen instructions: prepare your CSV, download the bundled sample if you want a starting point, choose your file, and click "Upload file and import".

屏幕截图:

  • Import results, listing each row as it is processed.
  • The imported posts in the Posts list, with their categories and tags.

升级注意事项:

2.0.1 Bug fixes and a unique importer ID to avoid colliding with other CSV importers. Find it at Tools > Import > Miller Media CSV Importer, or via the new "Import CSV" link on the Plugins screen. No CSV, filter, or action changes needed. 2.0.0 Major update with PHP 8.1+ compatibility and security hardening. Backward compatible with all existing filter hooks. Recommended for all users, especially those running PHP 8.1+. 1.0
  • wp_post_helper class is deprecated.

常见问题:

Can I update existing posts instead of creating new ones?

Yes. Either:

  • Include an ID or post_id column that matches an existing post, or
  • Enable "Replace by post title" on the importer screen so a row whose post_title matches an existing post of the same post_type updates that post instead of creating a new one.

Does this work with custom post types?

Yes. Set post_type to the slug of any post type already registered on your site (by WordPress, your theme, or another plugin).

Does this work with custom taxonomies?

Yes. Use a column named tax_{taxonomy}, where {taxonomy} is the taxonomy's registered slug (not its label). The taxonomy must already exist. For example: csv file "post_title","tax_actors" "Captain Phillips","Tom Hanks, Barkhad Abdi, Barkhad Abdirahman" imported post data Post Title: Captain Phillips. Custom taxonomy "Actors": Tom Hanks, Barkhad Abdi, Barkhad Abdirahman.

How do dates work?

post_date and post_date_gmt accept anything PHP's strtotime() understands (e.g. 2024-01-31, 2024/01/31 10:00). If you set post_status to future, you must provide post_date so WordPress knows when to publish the post.

My file has special characters / was exported from Excel - will it work?

Save/export it as UTF-8 CSV and quote every text cell. Excel's "CSV UTF-8" export option works; the plain "CSV" export option often does not use UTF-8 and can corrupt non-ASCII characters.

Is there a file size or row limit?

The upload is limited by your server's PHP upload settings (upload_max_filesize, post_max_size). There's no hard row limit, but very large files can take a long time to process since each row triggers a full wp_insert_post() (and any associated term/meta/thumbnail calls); consider splitting huge exports into smaller files.

Can I import custom fields or custom taxonomy values with array data (e.g. a Select or Checkbox field)?

Yes, with a small companion plugin using the really_simple_csv_importer_save_meta filter below to convert the CSV string into an array before it's saved.

Can I import multiple files as attachments into a single custom field?

See the developer example under "How to customize import post data" below, or the add-on development example.

What's the difference between this and the original Really Simple CSV Importer?

This is a maintained fork that provides PHP 8.1+ and WordPress 7.1 compatibility, hardened sanitization/escaping, a unique importer ID (so it no longer collides with the original plugin's "csv" importer ID if both are installed), and active maintenance. The original plugin was last updated in 2017. This fork keeps backward compatibility with all filter/action hooks from the original (they intentionally keep their original really_simple_csv_importer_* names) so existing customizations keep working. You can get the example CSV files in the /wp-content/plugins/miller-media-csv-importer/sample directory.

更新日志:

2.0.2 2.0.1 2.0.0 1.3 1.2 1.1 1.0 0.6.3 0.6.2 0.6.1 0.6 0.5.7 0.5.6 0.5.5 0.5.4 0.5.2 0.5.1 0.5 0.4.2 0.4.1 0.4 0.3 0.2 0.1.1 0.1