联系我们
简单又实用的WordPress网站制作教学
当前位置:网站首页 > WordPress插件 > 正文

CSV Import and Exporter 最好的WordPress常用插件下载 博客插件模块

作者:98wpeu发布时间:2023-08-20分类:WordPress插件浏览:108


导读:CSV导入和导出描述您可以为每种帖子类型导出CSV格式的帖子。它与文章兼容——自定义字段和自定义分类。也可以设置下载文章的数量或日期范围。如何自定义导出文章数据这个插件有以下过滤器...

CSV导入和导出描述您可以为每种帖子类型导出CSV格式的帖子。它与文章兼容——自定义字段和自定义分类。也可以设置下载文章的数量或日期范围。

如何自定义导出文章数据这个插件有以下过滤器。

WP _ CSV _ exporter _ post _ name WP _ CSV _ exporter _ post _ title WP _ CSV _ exporter _ post _ content WP _ CSV _ exporter _ post _ status WP _ CSV _ exporter _ p ost _ author WP _ CSV _ exporter _ post _ date WP _ CSV _ exporter _ post _ modified WP _ CSV _ exporter _ thumbnail _ URL WP _ CSV _ exporter _ post _ tags WP _ CSV _ exporter _ post _ category

$ post _ name(必选)post slug $ post _ id-(int)post id示例:

add _ filter(' WP _ CSV _ exporter _ post _ name ',' WP _ CSV _ exporter _ post _ name _ filter ',10,3);函数WP _ CSV _ exporter _ post _ name _ filter($ post _ name,$ post _ id){ return $ post _ name;} wp _ csv _ exporter _ post _参数:

$ post _ title(必选)文章标题$ post _ id-(int)文章id示例:

add _ filter(' WP _ CSV _ exporter _ post _ title ',' WP _ CSV _ exporter _ post _ title _ filter ',10,3);函数WP _ CSV _ exporter _ post _ title _ filter($ post _ title,$post_id ) { $post_title = $post_id。':' .$ post _ titlereturn $ post _ title} wp _ csv _ exporter _ post _参数:

$ post _ content(必选)帖子内容$ post _ id-(int)post idwp _ CSV _ exporter _ post _ excerpt参数:

$ post _ extract-(必选)post摘录$ post _ id-(int)post idwp _ CSV _ exporter _ post _ status参数:

$ post _ status(必选)发布状态$ post _ id-(int)post idwp _ CSV _ exporter _ post _ author参数:

$ post _ author(必选)帖子作者$ post _ id-(int)post idwp _ CSV _ exporter _ post _ date参数:

$ post _ date(必需)发布日期$ post _ id-(int)post idwp _ CSV _ exporter _ post _ modified参数:

$ post _ modified(必选)post修改日期$ post _ id-(int)post idwp _ CSV _ exporter _ post _ thumbnail _ URL参数:

$ post _ thumbnail _ url(必选)post thumbnail _ URL $ post _ id-(int)post idwp _ CSV _ exporter _ post _ tags参数:

$ post _ tags—(array)(必需)post标记$ post _ id—(int)post id示例:

add _ filter(' WP _ CSV _ exporter _ post _ tags ',' WP _ CSV _ exporter _ post _ tags _ filter ',10,3);函数WP _ CSV _ exporter _ post _ tags _ filter($ post _ tags,$ post _ id){ $ _ post _ tags = array();foreach($ post _ tags as $ key = & gt;$tag ) { $_post_tags

/assets/截图-1.png

/assets/snapshot-2 . png installation将整个wp-csv-import-exporter文件夹上传到/wp-content/plugins/目录。通过WordPress中的–插件–菜单激活插件。WP CSV导出器的控制面板在–工具& gtCSV出口-& amp;–工具& gtCSV导入-。评论此插件没有评论。

标签:ExporterCSV进口下载WordPress


WordPress插件排行
最近发表
网站分类
标签列表