Title: wp-spoiler-alert
Author: Darshan Sawardekar
Published: <strong>8 می 2014</strong>
Last modified: 7 آگوست 2014

---

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

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/wp-spoiler-alert.svg)

# wp-spoiler-alert

 توسط [Darshan Sawardekar](https://profiles.wordpress.org/dsawardekar/)

[دانلود](https://downloads.wordpress.org/plugin/wp-spoiler-alert.0.8.3.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-spoiler-alert/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-spoiler-alert/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-spoiler-alert/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-spoiler-alert/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-spoiler-alert/)

## توضیحات

This plugin adds the shortcode `[spoiler]` to WordPress. Any content
 wrapped inside
this shortcode is blurred out. It can be revealed by clicking on the blurred content.

The shortcode takes a `mode` parameter, which defaults to `block`. This
 wraps your
content inside a div. To add spoilers that are inside to your text use the mode `
inline`.

Eg:- Some [spoiler mode=’inline’]super secret stuff[/spoiler] here!

### Credits

 * Inspired by the [spoilerAlert](https://github.com/joshbuddy/spoiler-alert) jQuery
   plugin by [Joshua Hull](https://github.com/joshbuddy)

## نصب

 1. Click Plugins > Add New in the WordPress admin panel.
 2. Search for “wp-spoiler-alert” and install.

### Customization

The Partial and Max blur options control the amount of the blur effect
 applied.
A value of 0 applies no blur, 20 applies a very large blur effect, etc.

The Custom option allows you to override the manner in which to hide the
 spoilers.
This is useful to tune the effect to your site’s theme.

The plugin checks for a `custom.css` in your current
 theme’s directory at _{current\
_theme}/wp-spoiler-alert/custom.css_.

If this CSS file is present it will be added to the page automatically.

For eg:- the CSS below makes all spoilers into red blocks.

    ```
    .spoiler-hidden {
      color: red;
      background: red;
    }

    .spoiler-hidden:hover {
      color: white;
      background: white;
      outline: 1px solid red;
    }

    .spoiler-hidden img {
      opacity: 0;
    }

    .spoiler-visible {
      color: inherit;
      background: inherit;
      outline: none;
    }
    ```

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

 * Can I change the style of the spoiler?

Yes, see the customization section under Installation.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“wp-spoiler-alert” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Darshan Sawardekar ](https://profiles.wordpress.org/dsawardekar/)

[ترجمه “wp-spoiler-alert” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-spoiler-alert)

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

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

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

#### 0.8.3

 * Upgrades to Arrow 1.8.0.

#### 0.8.2

 * Removes old twig templates.

#### 0.8.1

 * Removes old files, fresh push with current Git release files.

#### 0.8.0

 * Smaller release, without development files.
 * Bundles reactjs frontend.

#### 0.6.0

 * Upgrades to Arrow 1.6.0.
 * Migrates front end to React.
 * Migrates front end build system to Webpack.

#### 0.5.2

 * Fixes json_last_error for PHP 5.5.

#### 0.5.1

 * Fixes build script.

#### 0.5.0

 * Switched to Ember OptionsManager.
 * Updated to Arrow 0.8.1.

#### 0.4.0

 * Upgrades to Arrow 0.7.0.

#### 0.3.0

 * Updates Arrow to 0.5.1.

#### 0.2.4

 * Fixes more typos.

#### 0.2.3

 * Fixes typos.

#### 0.2.2

 * Removes error_log

#### 0.2.1

 * Removes debug messages from 0.2.0

#### 0.2.0

 * Switches to Arrow 0.4.1.

#### 0.1.2

 * First release on wordpress.org

#### 0.1.0

 * Initial Release

## اطلاعات

 *  نگارش **0.8.3**
 *  Last updated **12 سال پیش**
 *  نصب‌های فعال **20+**
 *  نگارش وردپرس ** 3.5.0 یا بالاتر **
 *  Tested up to **3.9.40**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-spoiler-alert/)
 * Tag
 * [spoiler](https://fa.wordpress.org/plugins/tags/spoiler/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-spoiler-alert/advanced/)

## امتیازها

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

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/wp-spoiler-alert/reviews/)

## مشارکت کنندگان

 *   [ Darshan Sawardekar ](https://profiles.wordpress.org/dsawardekar/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-spoiler-alert/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://pressing-matters.io/)