[wordpress插件] deviantArt Last deviationdeviantArt最后偏差

wordpress 插件 文章 2020-04-16 06:50 454 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plug-in allows yout to put on your Word-Press blog a thumbnail/text link/thmbnail with text link to the last deviation on specified deviantArt account.

此插件可让您在Word-Press博客上放置缩略图/文本链接/缩略图,以及指向指定deviantArt帐户上最后偏差的文本链接。

Plugin waits 10 seconds for server response so if deviantArt is off-line after 10 seconds plugin would stop waiting for a response and allows to generate blog without last deviation image/text-link.

插件等待服务器响应10秒钟,因此如果deviantArt在10秒钟后脱机,插件将停止等待响应,并允许生成没有最后偏差图像/文本链接的博客。

You can edit the way of displaying the thumbnail/text link by editing lines 59-65 in da.php file.

您可以通过编辑da.php文件中的59-65行来编辑显示缩略图/文本链接的方式。

Plug-in uses cURL module (usually this module is on in PHP).

插件使用cURL模块(通常该模块在PHP中处于启用状态)。

安装步骤

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

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

    5. Place

    6. 放置 <?php show_last_dev('dA username');

      ?> in your templates

    7. ?> 在您的模板中

    Avaiable ways of using the plug-in:

    使用该插件的可用方式:

      • <?php show_last_dev('dA用户名');

        ?> or

        ?> <?php show_last_dev('dA username',1);

        ?> shows thumbnail with text-link

      • ?> 显示带有文本链接的缩略图

      • <?php show_last_dev('dA用户名',2);

        ?> shows only thumbnail linked to the deviation

      • ?> 仅显示链接到偏差的缩略图

      • <?php show_last_dev('dA用户名',3);

        ?> shows only text-link to the last deviation

      • ?> 仅显示到最后一个偏差的文本链接

      If you want the link open in new window you should add another argument to the function.

      如果要在新窗口中打开链接,则应在函数中添加另一个参数。

      eg:

      例如:

        • <?php show_last_dev('dA用户名',2,true);

          ?> shows only thumbnail linked to the deviation and link opens in new windw

        • ?> 仅显示链接到偏差的缩略图,并且链接在新窗口中打开

下载地址
https://downloads.wordpress.org/plugin/deviantart-last-deviation.zip
-EOF-

AI助手支持GPT4.0