Title: RainyShots
Author: rainypixels
Published: <strong>2011-05-11</strong>
Last modified: 2011-05-12

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# RainyShots

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

[Pobierz](https://downloads.wordpress.org/plugin/rainyshots.1.0.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/rainyshots/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/rainyshots/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/rainyshots/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/rainyshots/#developers)

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

## Opis

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/).

## Zrzuty ekranu

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

screenshot-1.gif

## Instalacja

 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.

## Najczęściej zadawane pytania

  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.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„RainyShots” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “RainyShots” na swój język.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/rainyshots/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/rainyshots/) lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/rainyshots/)
przez [RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0

 * Iz in ur v1

## Meta

 *  Wersja **1.0**
 *  Ostatnia aktualizacja **15 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 2.9 lub nowszej **
 *  Testowano do **3.1.4**
 *  Język
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Tagi
 * [designer](https://pl.wordpress.org/plugins/tags/designer/)[developer](https://pl.wordpress.org/plugins/tags/developer/)
   [social media](https://pl.wordpress.org/plugins/tags/social-media/)[template tag](https://pl.wordpress.org/plugins/tags/template-tag/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/rainyshots/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

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

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/rainyshots/reviews/)

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/rainyshots/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)