Title: Deviant Thumbs
Author: scribu
Published: <strong>2008 年 4 月 13 日</strong>
Last modified: 2010 年 8 月 29 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/deviant-thumbs.svg)

# Deviant Thumbs

 作者：[scribu](https://profiles.wordpress.org/scribu/)

[下载](https://downloads.wordpress.org/plugin/deviant-thumbs.1.8.6.zip)

 * [详情](https://cn.wordpress.org/plugins/deviant-thumbs/#description)
 * [评价](https://cn.wordpress.org/plugins/deviant-thumbs/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/deviant-thumbs/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/deviant-thumbs/#developers)

 [支持](https://wordpress.org/support/plugin/deviant-thumbs/)

## 描述

Display linked thumbnails from deviantART on your WordPress blog.

**Features:**

 * **Scrollable carousel**: your thumbs can be displayed in a dA style carousel
 * **Inline deviations**: the code _:thumb98765:_ inside a post becomes a thumbnail,
   just like on dA
 * **Multiple widget support**
 * **Flexible template tags**

Links: [Plugin News](http://scribu.net/wordpress/deviant-thumbs) | [Author’s Site](http://scribu.net)

## 屏幕截图

 * [[
 * The Deviant Thumbs Carousel

## 安装

Either use the plugin installer built into WP, or:

 1. Unzip and upload the `deviant-thumbs` directory to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Widget Usage

 1. Add one or more Deviant Thumbs widgets to your sidebar.
 2. Set the desired settings for each widget.
 3. Enjoy

#### Template tags

These are meant to be used outside The Loop.

**deviant_thumbs()**

    ```
    <?php if (function_exists('deviant_thumbs')): ?>
      <ul class="deviant-thumbs">
        <?php deviant_thumbs($query = 'your query', $args = 'rand=false&count=10'); ?>
      </ul>
    <?php endif; ?>
    ```

_Parameters:_

 * **$query** is a search string used on [deviantART](http://browse.deviantart.com/).
   Example: _by:scribu in:photography_
 * **$args** is a string of options for displaying the carousel:

 * *count* is the number of thumbs to display (The maximum is 24). Default: 6
 * *rand* is a flag to randomise thumbs or not. (Can be *true* or *false*). Default:
   true
 * *cache* is the number of hours after which the thumb list has to be updated. 
   Default: 6
 * *before* is a string inserted before each thumb. Default: `
 * `
 * *after* is a string inserted after each thumb. Default: `
 * `

**deviant_thumbs_carousel**

    ```
    <?php if (function_exists('deviant_thumbs_carousel')): ?>
        <?php deviant_thumbs_carousel($query = 'your query', $args = 'count=10&rand=false&id=my_carousel'); ?>
    <?php endif; ?>
    ```

_Parameters:_

 * **$query** is a search string used on [deviantART](http://browse.deviantart.com/).
 * **$args** is a string of options for displaying the carousel:

 * *count* is the total number of thumbs. Default: 6
 * *show* is the number of visible thumbs. Default: 3
 * *rand* is an option to show thumbs in a random order (Can be *true* or *false*).
   Default: true
 * *cache* is the number of hours after which the thumb list has to be updated. 
   Default: 6
 * *speed* is the speed of the sliding effect (Can be *fast*, *normal* or *slow*).
   Default: fast

## 常见问题

  “Parse error: syntax error, unexpected T_CLASS…” Help!

Make sure your new host is running PHP 5. Add this line to wp-config.php:

    ```
    var_dump(PHP_VERSION);
    ```

  How can I choose which thumbs to display?

You enter a search string (the thumbs are found using the search engine from deviantArt).
You can read more about [search options](http://help.deviantart.com/577/) there.

  Quick tips:

 * _-in:scraps_ excludes scraps
 * _boost:popular_ gets the most popular thumbs, instead of the newest

  How can I modifify the carousel skin?

You can edit `deviant-thumbs/inc/carousel/carousel.css`.

  Why isn’t the cache working?

Probably because your wp-uploads folder isn’t writable. You will have to chmod it
to 757. If you don’t know how, read [Changing File Permissions](https://codex.wordpress.org/Changing_File_Permissions).

## 评价

![](https://secure.gravatar.com/avatar/af7a64cf0331b2de51852977e3b2a43b1508aeb1f10c2437429e408396f8e00e?
s=60&d=retro&r=g)

### 󠀁[No longer works](https://wordpress.org/support/topic/no-longer-works-74/)󠁿

 [carenrose](https://profiles.wordpress.org/carenrose/) 2017 年 6 月 5 日

No longer works as it relied on Yahoo Pipes, which closed in 2015.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/)

## 贡献者及开发者

「Deviant Thumbs」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ scribu ](https://profiles.wordpress.org/scribu/)

[帮助将「Deviant Thumbs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/deviant-thumbs)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/deviant-thumbs/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/deviant-thumbs/)，或通过[RSS](https://plugins.trac.wordpress.org/log/deviant-thumbs/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/deviant-thumbs/)。

## 更新日志

#### 1.8.6

 * fix error when retrieving thumb list

#### 1.8.5

 * WP 2.8 compatibility

#### 1.8

 * multi-widget support
 * [more info](http://scribu.net/wordpress/deviant-thumbs/dt-1-8.html)

#### 1.7

 * home-made carousel
 * [more info](http://scribu.net/wordpress/deviant-thumbs/dt-1-7.html)

#### 1.6

 * inline thumbs
 * [more info](http://scribu.net/wordpress/deviant-thumbs/dt-1-6.html)

#### 1.5

 * switched to jCarousel Lite

#### 1.4

 * deviantART v6 skin

#### 1.3

 * jCarousel

#### 1.2

 * use any query
 * file-based caching

#### 1.1

 * random thumbs

#### 1.0

 * initial release

## 额外信息

 *  版本 **1.8.6**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/deviant-thumbs/)
 * 标签
 * [DeviantART](https://cn.wordpress.org/plugins/tags/deviantart/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [thumbs](https://cn.wordpress.org/plugins/tags/thumbs/)
 *  [高级视图](https://cn.wordpress.org/plugins/deviant-thumbs/advanced/)

## 评级

 3.5 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/deviant-thumbs/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/deviant-thumbs/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/deviant-thumbs/reviews/)

## 贡献者

 *   [ scribu ](https://profiles.wordpress.org/scribu/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/deviant-thumbs/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://scribu.net/wordpress)