Title: RainyShots
Author: rainypixels
Published: <strong>11 maio, 2011</strong>
Last modified: 12 maio, 2011

---

Pesquisar plugins

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

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

# RainyShots

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

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

 * [Detalhes](https://br.wordpress.org/plugins/rainyshots/#description)
 * [Avaliações](https://br.wordpress.org/plugins/rainyshots/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/rainyshots/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/rainyshots/#developers)

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

## Descrição

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

## Capturas de tela

 * [[
 * screenshot-1.gif

## Instalação

 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.

## Perguntas frequentes

  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.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“RainyShots” é um programa de código aberto. As seguintes pessoas contribuíram para
este plugin.

Colaboradores

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

[Traduzir o “RainyShots” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/rainyshots/), consulte
o [repositório SVN](https://plugins.svn.wordpress.org/rainyshots/) ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/rainyshots/)
por [RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0

 * Iz in ur v1

## Meta

 *  Versão **1.0**
 *  Última atualização **15 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 2.9 ou superior **
 *  Testado até **3.1.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Tags
 * [designer](https://br.wordpress.org/plugins/tags/designer/)[developer](https://br.wordpress.org/plugins/tags/developer/)
   [social media](https://br.wordpress.org/plugins/tags/social-media/)[template tag](https://br.wordpress.org/plugins/tags/template-tag/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/rainyshots/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

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

[Ver todas avaliações](https://wordpress.org/support/plugin/rainyshots/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/rainyshots/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)