[wordpress插件] Attachment Files Importer附件文件导入器

wordpress 插件 文章 2020-02-22 21:00 552 0 全屏看文

AI助手支持GPT4.0

评分
20
描述

Scan your WordPress installation for all missing attachment files, download them from another WordPress installation and resize them with your defined image sizes.

扫描您的WordPress安装中所有丢失的附件文件,从另一个WordPress安装中下载它们,并使用定义的图像大小调整它们的大小。

Know that the plugin will not create new media on your installation database, it’ll just use the existings entries of medias in your database to retrieve the physical files on another WordPress installation.

知道该插件不会在您的安装数据库上创建新媒体,它只会使用数据库中现有的媒体条目来检索另一个WordPress安装上的物理文件。

E.g.: http://serverA.com have an entry for the mediaX in his database.

例如 http://serverA.com 在他的数据库中具有 mediaX 的条目。

The path for the physical file is supposed to be http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg but it’s not here.

物理文件的路径应该为 http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg ,但此处未提供。

If you know that this same media exists on http://serverB.com + the physical file, you can use this plugin on http://serverA.com, specifying

如果您知道 http://serverB.com +物理文件上存在相同的媒体,则可以在 http://serverA.com 上使用此插件,并指定

http://serverB.com in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/

http://serverB.com 在“服务器URL ”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/

uploads/2013/06/mediaX.jpg.

uploads / 2013/06 / mediaX.jpg

If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.

如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg

Do you need this?

您需要这个吗?

This plugin is useful if you have multiple instances of a same project installed on multiple servers.

如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。

For example, a team of developers, each of them having a copy of the “master” installation located at the production server.

例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。

Periodically, the database of the “master” installation is given to the developers who update their code through a VCS

定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS

> (like SVN, GIT, Mercurial).

>(例如SVN,GIT,Mercurial)。

There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.

可能没有对 uploads 文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。

How tu use it?

您如何使用它?

In the admin, go to Tools/Import and choose the Attachment files importer.

在管理员中,转到工具/导入并选择附件文件导入程序。

From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.

从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入

Existing files will not be overriden.

现有文件不会被覆盖。

Debug

调试

The plugin is in an early stage and bugs may occurs.

该插件尚处于早期阶段,可能会发生错误。

If you want to show a detailled report of the importation process, add this line to your wp-config.php file:

如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php 文件中:

define('ATTACHMENT_FILES_IMPORT_DEBUG', true);

  define('ATTACHMENT_FILES_IMPORT_DEBUG',true);

安装步骤

    1. Upload the attachment-files-importer folder to the /wp-content/plugins/ directory
    2. attachment-files-importer 文件夹上载到 / wp-content / plugins / 目录

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

    5. Go to the Tools -> Import screen, click on Attachment Files
    6. 转到“工具->导入”屏幕,单击“附件文件”

下载地址
https://downloads.wordpress.org/plugin/attachment-files-importer.0.3.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] 404page – your smart custom 404 error page404page –您的智能自定义404错误页面
[wordpress插件] Beautiful Yahoo Weather美丽的雅虎天气
[wordpress插件] And The Winner Is…最终获胜者是…
[wordpress插件] BlueLevel 3D CSSProgressBlueLevel 3D CSS进度
[wordpress插件] Delete Image With Post用帖子删除图像
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8088
问题? 7414
如何快速搭建抽奖助手小程序(无需代码知识) 5096
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6050
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5661
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5252
如何解决渲染层网络错误Failed to load media? 16601
小程序找号找回 释放昵称? 2454
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2532
删除部分微信用户个人数据的通知,怎么删除? 5583