Title: RainyShots
Author: rainypixels
Published: <strong>11. 5. 2011</strong>
Last modified: 12. 5. 2011

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# RainyShots

 Autor: [rainypixels](https://profiles.wordpress.org/rainypixels/)

[Stáhnout](https://downloads.wordpress.org/plugin/rainyshots.1.0.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/rainyshots/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/rainyshots/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/rainyshots/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/rainyshots/#developers)

 [Podpora](https://wordpress.org/support/plugin/rainyshots/)

## Popis

This plugin adds a function `rs_shots()` to WordPress that returns an array of the
15 latest Dribbble shots by a player. The return type of the function is [JSON in appropriate PHP type](http://php.net/manual/en/function.json-decode.php).

The plugin adds an admin screen under Settings > RainyShots that provides a few 
options such as specifying a player and caching preferences.

**Features**

 * Specify the player
 * Returned shots variable is cached for a day by default; this cache duration may
   be updated in admin settings
 * You can manually reset the cache through the admin at any time. This is useful
   if you post a shot and want it to immediately show up in your template.

Read more about it on [my blog](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/).

## Snímky obrazovky

[⌊screenshot-1.gif⌉⌊screenshot-1.gif⌉[

screenshot-1.gif

## Instalace

 1. Upload the rainyshots folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. Set the player under Settings > RainyShots before you use the tag; optionally, 
    update the caching preferences.

## Nejčastější dotazy

  Does the ws_shots() function output any html or css?

Nope. It returns the [json with values encoded as PHP types](http://php.net/manual/en/function.json-decode.php).
You can loop through the object as follows:

    ```
    $shots = rs_shots();

    foreach ($shots as $shot)
    {
        echo "<img src='" . $shot->{"image_teaser_url"} . "' alt='" . $shot->{"title"} . "' />";
    }
    ```

  May I access only „image_teaser_url“ or are any other shot properties accessible?

You may access all the properties available in the response to [this API call](http://dribbble.com/api#get_player_shots).
All the plugin does is return the json_decoded result of the API call along with
caching benefits.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

RainyShots je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

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

[Přeložte “RainyShots” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/rainyshots/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/rainyshots/), nebo se přihlaste
k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/rainyshots/) 
pomocí [RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0

 * Iz in ur v1

## Meta

 *  Verze **1.0**
 *  Poslední aktualizace **před 15 roky**
 *  Aktivních instalací **10+**
 *  Verze WordPressu ** 2.9 nebo novější **
 *  Testováno až do WordPressu **3.1.4**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Štítky
 * [designer](https://cs.wordpress.org/plugins/tags/designer/)[developer](https://cs.wordpress.org/plugins/tags/developer/)
   [social media](https://cs.wordpress.org/plugins/tags/social-media/)[template tag](https://cs.wordpress.org/plugins/tags/template-tag/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/rainyshots/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

[Vaše hodnocení](https://wordpress.org/support/plugin/rainyshots/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/rainyshots/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/rainyshots/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)