AI助手支持GPT4.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帐户上最后偏差的文本链接。 p>
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秒钟后脱机,插件将停止等待响应,并允许生成没有最后偏差图像/文本链接的博客。 p>
You can edit the way of displaying the thumbnail/text link by editing lines 59-65 in da.php file.
您可以通过编辑da.php文件中的59-65行来编辑显示缩略图/文本链接的方式。 p>
Plug-in uses cURL module (usually this module is on in PHP).
插件使用cURL模块(通常该模块在PHP中处于启用状态)。 p>
da.php
/wp-content/plugins/
da.php code>上载到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Place 放置 <?php show_last_dev('dA username'); ?> in your templates?> code>在您的模板中 li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Place 放置 <?php show_last_dev('dA username'); ?> in your templates?> code>在您的模板中 li>
放置 <?php show_last_dev('dA username'); ?> in your templates?> code>在您的模板中 li>
<?php show_last_dev('dA username'); ?>
?>
?> code>在您的模板中 li>
ol>
Avaiable ways of using the plug-in:
使用该插件的可用方式: p>
<?php show_last_dev('dA用户名'); ?> or ?> code>或 <?php show_last_dev('dA username',1); ?> shows thumbnail with text-link?> code>显示带有文本链接的缩略图 li> <?php show_last_dev('dA用户名',2); ?> shows only thumbnail linked to the deviation?> code>仅显示链接到偏差的缩略图 li> <?php show_last_dev('dA用户名',3); ?> shows only text-link to the last deviation?> code>仅显示到最后一个偏差的文本链接 li>
<?php show_last_dev('dA用户名'); ?>
?> code>或 <?php show_last_dev('dA username',1); ?> shows thumbnail with text-link
<?php show_last_dev('dA username',1); ?>
?> code>显示带有文本链接的缩略图 li>
<?php show_last_dev('dA用户名',2); ?> shows only thumbnail linked to the deviation?> code>仅显示链接到偏差的缩略图 li> <?php show_last_dev('dA用户名',3); ?> shows only text-link to the last deviation?> code>仅显示到最后一个偏差的文本链接 li>
<?php show_last_dev('dA用户名',2); ?>
?> code>仅显示链接到偏差的缩略图 li>
<?php show_last_dev('dA用户名',3); ?> shows only text-link to the last deviation?> code>仅显示到最后一个偏差的文本链接 li>
<?php show_last_dev('dA用户名',3); ?>
?> code>仅显示到最后一个偏差的文本链接 li>
ul>
If you want the link open in new window you should add another argument to the function.
如果要在新窗口中打开链接,则应在函数中添加另一个参数。
eg:
例如: p>
<?php show_last_dev('dA用户名',2,true); ?> shows only thumbnail linked to the deviation and link opens in new windw?> code>仅显示链接到偏差的缩略图,并且链接在新窗口中打开 li>
<?php show_last_dev('dA用户名',2,true); ?>
?> code>仅显示链接到偏差的缩略图,并且链接在新窗口中打开 li>
原文出处:http://www.sanshu.cn/a/10710.html
群主管理都是支付大佬