[wordpress插件] Advanced CSV Importer先进的CSV导入器

wordpress 插件 文章 2020-02-07 01:20 717 0 全屏看文

AI助手支持GPT4.0

评分

80

80

描述

The Advanced CSV Importer will import the following content from a CSV file.

高级CSV导入器将从CSV文件导入以下内容。

Advanced CSV Importer is fully unit-tested.

高级CSV导入程序已经过全面的单元测试。

The plugin is stable and ready to be used in large projects like enterprise applications.

该插件很稳定,可以在大型项目中使用,例如企业应用程序。

    • Posts, pages and other custom post types
    • 帖子,页面和其他自定义帖子类型

    • Custom fields and post meta
    • 自定义字段和发布元信息

    • Categories, tags
    • 类别,标签

    https://github.com/miya0001/advanced-csv-importer

    https://github.com/miya0001/advanced-csv-importer

    This plugin requires PHP 5.3 or later.

    此插件需要PHP 5.3或更高版本。

    Default CSV field names

    默认CSV字段名称

      • ID
      • ID

      • post_content
      • post_content

      • post_name
      • post_name

      • post_title
      • post_title

      • post_status
      • post_status

      • post_type
      • post_type

      • post_author
      • post_author

      • ping_status
      • ping_status

      • post_parent
      • post_parent

      • menu_order
      • menu_order

      • to_ping
      • to_ping

      • pinged
      • ping

      • post_password
      • post_password

      • guid
      • guid

      • post_content_filtered
      • post_content_filtered

      • post_excerpt
      • post_excerpt

      • post_date
      • post_date

      • post_date_gmt
      • post_date_gmt

      • comment_status
      • comment_status

      • post_category
      • post_category

      • tags_input
      • tags_input

      • page_template
      • page_template

      You can change field name via acsv_post_object_keys hook like following.

      您可以通过 acsv_post_object_keys 钩子更改字段名称,如下所示。

      add_filter( 'acsv_post_object_keys', function( $post_object_keys ){    

        add_filter('acsv_post_object_keys',function($ post_object_keys){    

      $post_object_keys['title'] = 'post_title';    

      $ post_object_keys ['title'] ='post_title';    

      $post_object_keys['content'] = 'post_content';    

      $ post_object_keys ['content'] ='post_content';    

      return $post_object_keys;

      返回$ post_object_keys;

      } );

      });

      Other columns will be saved to the custom field.

      其他列将保存到自定义字段。

      There is a sample of the CSV.

      有一个CSV示例。

      }

      Action Hooks

      动作挂钩

        • acsv_after_insert_post
        • acsv_after_insert_post

        Filter Hooks

        过滤钩

          • acsv_post_object_keys
          • acsv_post_object_keys

          • acsv_post_defaults
          • acsv_post_defaults

          • acsv_import_upload_size_limit
          • acsv_import_upload_size_limit

          • acsv_pre_get_post_objects
          • acsv_pre_get_post_objects

          • acsv_after_get_post_objects
          • acsv_after_get_post_objects

          • acsv_csv_format
          • acsv_csv_format

          • acsv_csv_to_hash_array
          • acsv_csv_to_hash_array

          • acsv_get_user_by_field
          • acsv_get_user_by_field

          WP-CLI

          WP-CLI

          Importing:

          导入:

          $ wp csv import tests/_data/wp/sample.csv

            $ wp csv导入测试/_data/wp/sample.csv

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

          |

          |

          ID |

          ID |

          Title |

          标题|

          Type |

          类型

          Status |

          现状

          Author |

          作者|

          Date |

          日期

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

          |

          |

          1720 |

          1720 |

          CSV Import Test |

          CSV导入测试|

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2013-09-13 00:00:00 |

          2013-09-13 00:00:00 |

          |

          |

          1721 |

          1721 |

          define author test |

          定义作者测试|

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          |

          |

          1722 |

          1722 |

          define author id test |

          定义作者ID测试|

          post |

          发布|

          publish |

          发布|

          themedemos |

          主题|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          |

          |

          1 |

          1 |

          Hello world!

          你好,世界!

          Updated!

          更新!

          |

          |

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

          History:

          历史记录:

          $ wp csv log

            $ wp csv日志

          +----------+-----------------------------+--------

          + ---------- + ----------------------------- + --------

          -------------+---------+---------+

          ------------- + --------- + --------- +

          |

          |

          ID |

          ID |

          Title |

          标题|

          Date |

          日期

          Success |

          成功|

          Failure |

          失败

          +----------+-----------------------------+--------

          + ---------- + ----------------------------- + --------

          -------------+---------+---------+

          ------------- + --------- + --------- +

          |

          |

          e0a66344 |

          e0a66344 |

          Imported from WP-CLI.

          从WP-CLI导入。

          |

          |

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          4 |

          4 |

          0 |

          0 |

          |

          |

          43c47af6 |

          43c47af6 |

          Imported from admin screen.

          从管理屏幕导入。

          |

          |

          2014-12-27 16:53:17 |

          2014-12-27 16:53:17 |

          4 |

          4 |

          0 |

          0 |

          |

          |

          df0f140b |

          df0f140b |

          Imported from WP-CLI.

          从WP-CLI导入。

          |

          |

          2014-12-27 16:21:42 |

          2014-12-27 16:21:42 |

          4 |

          4 |

          0 |

          0 |

          +----------+-----------------------------+--------

          + ---------- + ----------------------------- + --------

          -------------+---------+---------+

          ------------- + --------- + --------- +

          Details of the history:

          历史记录的详细信息:

          $ wp csv log e0a66344

            $ wp csv日志e0a66344

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

          |

          |

          ID |

          ID |

          Title |

          标题|

          Type |

          类型

          Status |

          现状

          Author |

          作者|

          Date |

          日期

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

          |

          |

          1720 |

          1720 |

          CSV Import Test |

          CSV导入测试|

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2013-09-13 00:00:00 |

          2013-09-13 00:00:00 |

          |

          |

          1721 |

          1721 |

          define author test |

          定义作者测试|

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          |

          |

          1722 |

          1722 |

          define author id test |

          定义作者ID测试|

          post |

          发布|

          publish |

          发布|

          themedemos |

          主题|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          |

          |

          1 |

          1 |

          Hello world!

          你好,世界!

          Updated!

          更新!

          |

          |

          post |

          发布|

          publish |

          发布|

          admin |

          管理员|

          2014-12-27 18:44:46 |

          2014-12-27 18:44:46 |

          +------+-----------------------+------+---------+-

          + ------ + ----------------------- + ------ + --------- +-

          -----------+---------------------+

          ----------- + --------------------- +

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Place

    6. 放置 <?php do_action('plugin_name_hook');

      ?> in your templates

    7. ?> 在您的模板中

下载地址

https://downloads.wordpress.org/plugin/advanced-csv-importer.0.1.6.zip

https://downloads.wordpress.org/plugin/advanced-csv-importer.0.1.6.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Banner Effect Header横幅效果标题
[wordpress插件] Clip Art Illustration Search and Insert剪贴画插图搜索和插入
[wordpress插件] DealAdsDealAds
[wordpress插件] Alsoviewed for woocommerce还查看了woocommerce
[wordpress插件] Datapress数据新闻
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793