Title: Bootstrap Modals
Author: neilgee
Published: <strong>جون 18, 2014</strong>
Last modified: می 17, 2019

---

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

![](https://ps.w.org/bootstrap-modals/assets/banner-772x250.jpg?rev=985939)

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

![](https://ps.w.org/bootstrap-modals/assets/icon-256x256.jpg?rev=983429)

# Bootstrap Modals

 توسط [neilgee](https://profiles.wordpress.org/neilgee/)

[دانلود](https://downloads.wordpress.org/plugin/bootstrap-modals.1.3.2.zip)

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

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

## توضیحات

This plugin adds Bootstrap v3 Modal functionality to WordPress.

It adds just the Bootstrap Javascript Plugin for Modals and associated CSS.

This does not bring in any other Bootstrap javascript or CSS functionality.

There is sample HTML mark up code in the readme.txt for a selector and modal target
element.

Options to override the default CSS modal styling and also use a shortcode.

Option to disable Bootstrap JS/CSS files in case of conflict.

### Usage

Use either the Bootstrap API markup or Javascript to trigger the modal windows, 
this can be found here: http://getbootstrap.com/javascript/#modals

There is also further usage information here: http://coolestguidesontheplanet.com/
bootstrap/modal.php

Mark up needs to be directly applied to post/page or widget area or via a shortcode.

Options to override the default CSS styling.

Here is a simple HTML Modal MarkUp

    ```
    <!-- Button trigger modal -->
    <a class="btn btn-primary btn-lg" href="#myModal1" data-toggle="modal">Launch demo modal</a>

    <!-- Modal -->
    <div id="myModal1" class="modal fade" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="close" type="button" data-dismiss="modal">×</button>
                        <h4 class="modal-title">My Title in a Modal Window</h4>
                </div>
                <div class="modal-body">This is the body of a modal...</div>
                <div class="modal-footer">This is the footer of a modal...</div>
                </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
    ```

You can change the modal size by adding an extra CSS class to the **.modal-dialog**
div;

    ```
    modal-lg
    ```

or

    ```
    modal-sm
    ```

for large and small respectively.

Since version 1.0.2 extra CSS is included to set the close button to a state similar
to Bootstrap install, to override the default CSS for the close button use a CSS
selector .modal-dialog .close { } in your CSS styles.

## نصب

This section describes how to install the plugin:

 1. Upload the `bootstrap-modals` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

Here is a simple HTML Modal MarkUp

    ```
    <!-- Button trigger modal -->
    <a class="btn btn-primary btn-lg" href="#myModal1" data-toggle="modal">Launch demo modal</a>

    <!-- Modal -->
    <div id="myModal1" class="modal fade" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="close" type="button" data-dismiss="modal">×</button>
                        <h4 class="modal-title">My Title in a Modal Window</h4>
                </div>
                <div class="modal-body">This is the body of a modal...</div>
                <div class="modal-footer">This is the footer of a modal...</div>
                </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
    ```

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

![](https://secure.gravatar.com/avatar/1db21927f52888eab0586b915ed203da3b958baa05c87ff086254b46695eee44?
s=60&d=retro&r=g)

### 󠀁[Good!](https://wordpress.org/support/topic/good-3777/)󠁿

 [ws24](https://profiles.wordpress.org/ws24/) سپتامبر 7, 2018

Nice and easy WP plugin to display content in Bootstrap modals.

![](https://secure.gravatar.com/avatar/4553ddbdece7ace5ca411089f60a5cf1b011492f7ecfb63ab25f2cc6bd1daf90?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-2976/)󠁿

 [Bootstrap Themes](https://profiles.wordpress.org/bootstrapthemesio/) جولای 22,
2018

Very good plugin for WordPress.

![](https://secure.gravatar.com/avatar/1ec8e25c67db71b4411fb5c8d25f51361da8a958e51118b68d9f139911612c65?
s=60&d=retro&r=g)

### 󠀁[Слишком много багов](https://wordpress.org/support/topic/%d1%81%d0%bb%d0%b8%d1%88%d0%ba%d0%be%d0%bc-%d0%bc%d0%bd%d0%be%d0%b3%d0%be-%d0%b1%d0%b0%d0%b3%d0%be%d0%b2/)󠁿

 [fomenkoandrey](https://profiles.wordpress.org/fomenkoandrey/) مارچ 13, 2017

Работает не корректно: Основное окно прыгает по ширине из-за скролбара. Модальное
окно появившись мгновенно исчезает. Т.е. плагин не работоспособен.

![](https://secure.gravatar.com/avatar/0935186377e764dfc0c2a6ed8fed14ff53b40e82f86c983e065c5254558cc80c?
s=60&d=retro&r=g)

### 󠀁[goooood!](https://wordpress.org/support/topic/goooood-6/)󠁿

 [zanpress](https://profiles.wordpress.org/zanpress/) سپتامبر 3, 2016

goooooood!!

![](https://secure.gravatar.com/avatar/5598de4ac5127fb40e9f117764dd79426b868dc5d245f9aca7938e5032db644f?
s=60&d=retro&r=g)

### 󠀁[Good Plugin and Simple to use.](https://wordpress.org/support/topic/good-plugin-and-simple-to-use/)󠁿

 [euginepj](https://profiles.wordpress.org/euginepj/) سپتامبر 3, 2016

Good Plugin and Simple to use.

![](https://secure.gravatar.com/avatar/611900665681470879404da53d4d504fa73ade8b8183eb21d816e7c382cfddef?
s=60&d=retro&r=g)

### 󠀁[Super Duper](https://wordpress.org/support/topic/super-duper-7/)󠁿

 [baxaid](https://profiles.wordpress.org/baxaid/) سپتامبر 3, 2016

Great plugin, does what it says.

 [ خواندن تمامی 8 نقد و بررسی‌ ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/)

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

“Bootstrap Modals” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

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

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

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

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

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/bootstrap-modals/),
را بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/bootstrap-modals/), یا
مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/bootstrap-modals/)
توسط [RSS](https://plugins.trac.wordpress.org/log/bootstrap-modals/?limit=100&mode=stop_on_copy&format=rss).

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

= 1.3.2
 * 17/11/17 * Update wp-color-picker to 2.1.2 to be compatible with WP 4.9

#### 1.3.1.1

 * 15th September 2017
 * Fix undefined notice
 * Compatible with WP 4.9

#### 1.3.1

 * 8th September 2017
 * Added option to disable plugins Bootstrap Files – handy if theme is already bootstrap.
 * Updated with Bootstrap 3.3.7
 * Updated CSS styles for custom CSS options in plugin settings, more specific selectors.
 * Option for alignment of header area of modal.

#### 1.3.0

 * 21st July 2016
 * Added options page in WP Admin Dashboard > Settings > Bootstrap Modal
 * Manual mark up tab
 * CSS style options enable the style of the CSS to be overidden
 * Shortcode now available – Shortcode tab – explains how the shortcode works

#### 1.2.1

 * 6th September 2015 – Updated with Bootstrap 3.3.5 – CSS change on close button
   to make circular and position offset off model

#### 1.2.0

 * 19th April 2015 – Updated with Bootstrap 3.3.4 – Fixes for a few significant 
   bugs in the Modal plugin.

#### 1.1.0

 * 22nd January 2015 – Updated with Bootstrap 3.3.2 – no functional changes for 
   modals.

#### 1.0.2

 * 13th November 2014 – Updated with Bootstrap 3.3.1 – https://github.com/twbs/bootstrap/
   releases/tag/v3.3.1 – Included extra CSS for .close class used on Modal close
   button.

#### 1.0.1

 * 27th June 2014 – Updated with Bootstrap 3.2.0 – https://github.com/twbs/bootstrap/
   releases/tag/v3.2.0

#### 1.0.0

 * Initial release.

## اطلاعات

 *  Version **1.3.2**
 *  Last updated **7 سال پیش**
 *  Active installations **1,000+**
 *  WordPress version ** 3.8 یا بالاتر **
 *  Tested up to **5.2.24**
 *  Language
 * [English (US)](https://wordpress.org/plugins/bootstrap-modals/)
 * Tags
 * [bootstrap](https://fa-af.wordpress.org/plugins/tags/bootstrap/)[Modals](https://fa-af.wordpress.org/plugins/tags/modals/)
   [pop-ups](https://fa-af.wordpress.org/plugins/tags/pop-ups/)[windows](https://fa-af.wordpress.org/plugins/tags/windows/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/bootstrap-modals/advanced/)

## امتیازها

 4.5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/bootstrap-modals/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/bootstrap-modals/reviews/)

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

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

## پشتیبانی

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

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

## کمک مالی

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

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=neil%40wpbeaches%2ecom&lc=AU&item_name=WP%20Beaches&item_number=Plugins&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)