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: Plu
About this tool.
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 | Author’s Site
A closer look.
Getting started.
Either use the plugin installer built into WP, or:
- 01Unzip and upload the deviant-thumbs directory to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
Widget Usage
- 03Add one or more Deviant Thumbs widgets to your sidebar.
- 04Set the desired settings for each widget.
- 05Enjoy
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:
- 06$query is a search string used on deviantART . Example: by:scribu in:photography
- 07$args is a string of options for displaying the carousel:
- 08*count* is the number of thumbs to display (The maximum is 24). Default: 6
- 09*rand* is a flag to randomise thumbs or not. (Can be *true* or *false*). Default: true
- 10*cache* is the number of hours after which the thumb list has to be updated. Default: 6
- 11*before* is a string inserted before each thumb. Default: `