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

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# RainyShots

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

[ダウンロード](https://downloads.wordpress.org/plugin/rainyshots.1.0.zip)

 * [詳細](https://ja.wordpress.org/plugins/rainyshots/#description)
 * [レビュー](https://ja.wordpress.org/plugins/rainyshots/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/rainyshots/#installation)
 * [開発](https://ja.wordpress.org/plugins/rainyshots/#developers)

 [サポート](https://wordpress.org/support/plugin/rainyshots/)

## 説明

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

## スクリーンショット

 * [[
 * screenshot-1.gif

## インストール

 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.

## FAQ

  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.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

RainyShots はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献してい
ます。

貢献者

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

[“RainyShots” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/rainyshots)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/rainyshots/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/rainyshots/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/rainyshots/)
を [RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0

 * Iz in ur v1

## メタ

 *  バージョン **1.0**
 *  最終更新日 **15年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 2.9またはそれ以降 **
 *  検証済み最新バージョン: **3.1.4**
 *  言語
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * タグ
 * [designer](https://ja.wordpress.org/plugins/tags/designer/)[developer](https://ja.wordpress.org/plugins/tags/developer/)
   [social media](https://ja.wordpress.org/plugins/tags/social-media/)[template tag](https://ja.wordpress.org/plugins/tags/template-tag/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/rainyshots/advanced/)

## 評価

レビューはまだ送信されていません。

[レビューを追加](https://wordpress.org/support/plugin/rainyshots/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/rainyshots/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/rainyshots/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://rainypixels.com/writings/journal/rainyshots-a-dribbble-plugin/)