AI助手支持GPT4.0
Display linked thumbnails from deviantART on your WordPress blog.
在您的WordPress博客上显示deviantART的链接缩略图。 p>
Features:
功能: strong> p>Scrollable carousel: your thumbs can be displayed in a dA style carousel 可滚动轮播 strong>:您的拇指可以以dA风格的轮播显示 li>Inline deviations: the code :thumb98765: inside a post becomes a thumbnail, just like on dA 行内偏差 strong>:帖子内的代码:thumb98765: em>变成缩略图,就像在dA上一样 li>Multiple widget support 多种小部件支持 strong> li>Flexible template tags 灵活的模板标签 strong> li> ul>Links: Plugin News |链接:插件新闻 | Author’s Site作者的网站 p>
ul>
Links: Plugin News |
链接:插件新闻 |
Author’s Site
作者的网站 p>
Either use the plugin installer built into WP, or:
要么使用WP内置的插件安装程序,要么: p>
deviant-thumbs
/wp-content/plugins/
deviant-thumbs code>目录解压缩并上传到 / wp-content / plugins / code>目录。 li>Activate the plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活插件。 li>
/ wp-content / plugins / code>目录。 li>Activate the plugin through the ‘Plugins’ menu in WordPress.通过WordPress中的“插件”菜单激活插件。 li>
ol>
These are meant to be used outside The Loop.
这些应在The Loop之外使用。 p>
deviant_thumbs()
deviant_thumbs() strong> p> <?php if(function_exists('deviant_thumbs')):?> <?php deviant_thumbs($ query ='您的查询',$ args ='rand = false&count = 10'); ?> ?> ul><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。Example: by:scribu in:photography示例:作者:scribu in:摄影 em> li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the number of thumbs to display (The maximum is 24). * count *是要显示的拇指数(最多24个)。Default: 6默认值:6 li>*rand* is a flag to randomise thumbs or not. * rand *是一个标志,用于将拇指随机化或不随机化。 (Can be *true* or *false*).(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*before* is a string inserted before each thumb. * before *是在每个拇指之前插入的字符串。Default: `默认值:` li>`` li>*after* is a string inserted after each thumb. * after *是每个拇指之后插入的字符串。Default: `默认值:` li>`` ul>deviant_thumbs_carousel deviant_thumbs_carousel strong> p> <?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
<?php if(function_exists('deviant_thumbs')):?> <?php deviant_thumbs($ query ='您的查询',$ args ='rand = false&count = 10'); ?> ?> ul><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。Example: by:scribu in:photography示例:作者:scribu in:摄影 em> li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the number of thumbs to display (The maximum is 24). * count *是要显示的拇指数(最多24个)。Default: 6默认值:6 li>*rand* is a flag to randomise thumbs or not. * rand *是一个标志,用于将拇指随机化或不随机化。 (Can be *true* or *false*).(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*before* is a string inserted before each thumb. * before *是在每个拇指之前插入的字符串。Default: `默认值:` li>`` li>*after* is a string inserted after each thumb. * after *是每个拇指之后插入的字符串。Default: `默认值:` li>`` ul>deviant_thumbs_carousel deviant_thumbs_carousel strong> p> <?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
<?php if(function_exists('deviant_thumbs')):?> <?php deviant_thumbs($ query ='您的查询',$ args ='rand = false&count = 10'); ?> ?> ul><?php endif; ?>?>
<?php deviant_thumbs($ query ='您的查询',$ args ='rand = false&count = 10');
?>
?>
<?php endif;
code> pre>
Parameters:
参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。Example: by:scribu in:photography示例:作者:scribu in:摄影 em> li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the number of thumbs to display (The maximum is 24). * count *是要显示的拇指数(最多24个)。Default: 6默认值:6 li>*rand* is a flag to randomise thumbs or not. * rand *是一个标志,用于将拇指随机化或不随机化。 (Can be *true* or *false*).(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*before* is a string inserted before each thumb. * before *是在每个拇指之前插入的字符串。Default: `默认值:` li>`` li>*after* is a string inserted after each thumb. * after *是每个拇指之后插入的字符串。Default: `默认值:` li>`` ul>deviant_thumbs_carousel deviant_thumbs_carousel strong> p> <?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
Example: by:scribu in:photography
示例:作者:scribu in:摄影 em> li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li>
Default: 6
默认值:6 li>
(Can be *true* or *false*).
(可以是* true *或* false *)。
Default: true
默认值:true li>
Default: `
默认值:` li>
`
deviant_thumbs_carousel
deviant_thumbs_carousel strong> p> <?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
<?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?> code> pre>Parameters: 参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
<?php if(function_exists('deviant_thumbs_carousel')):?> <?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel'); ?>?><?php endif; ?>?>
<?php deviant_thumbs_carousel($ query ='您的查询',$ args ='count = 10&rand = false&id = my_carousel');
参数: em> p>$query is a search string used on deviantART. $ query strong>是在 deviantART 上使用的搜索字符串。 li>$args is a string of options for displaying the carousel: $ args strong>是显示轮播的一系列选项: li> li> ul>*count* is the total number of thumbs. * count *是指的总数。Default: 6默认值:6 li>*show* is the number of visible thumbs. * show *是可见的拇指数。Default: 3默认值:3 li>*rand* is an option to show thumbs in a random order (Can be *true* or *false*). * rand *是显示拇指以随机顺序显示的选项(可以是* true *或* false *)。Default: true默认值:true li>*cache* is the number of hours after which the thumb list has to be updated. * cache *是必须更新拇指列表的小时数。Default: 6默认值:6 li>*speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*). * speed *是滑动效果的速度(可以是* fast *,* normal *或* slow *)。Default: fast默认值:快速 li> ul>
Default: 3
默认值:3 li>
Default: fast
默认值:快速 li>
原文出处:http://www.sanshu.cn/a/10709.html
群主管理都是支付大佬