Title: RainyShots
Author: rainypixels
Published: <strong>11 می 2011</strong>
Last modified: 12 می 2011

---

جستجوی افزونه‌ها

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of 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://fa.wordpress.org/plugins/rainyshots/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/rainyshots/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/rainyshots/#installation)
 * [توسعه](https://fa.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⌉⌊screenshot-1.gif⌉[

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.

## سوالات متداول

  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)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/rainyshots/), check
out the [SVN repository](https://plugins.svn.wordpress.org/rainyshots/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/rainyshots/) by 
[RSS](https://plugins.trac.wordpress.org/log/rainyshots/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0

 * Iz in ur v1

## اطلاعات

 *  نگارش **1.0**
 *  Last updated **15 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 2.9 یا بالاتر **
 *  Tested up to **3.1.4**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/rainyshots/)
 * Tags
 * [designer](https://fa.wordpress.org/plugins/tags/designer/)[developer](https://fa.wordpress.org/plugins/tags/developer/)
   [social media](https://fa.wordpress.org/plugins/tags/social-media/)[template tag](https://fa.wordpress.org/plugins/tags/template-tag/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/rainyshots/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](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/)