Title: BF Modal
Author: Bornfight
Published: <strong>06.11.2021</strong>
Last modified: 20.04.2023

---

Търсене на разширения

Това разширение **не е обновявано повече от 2 години**. Може вече да не се поддържа
и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

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

# BF Modal

 От [Bornfight](https://profiles.wordpress.org/bornfight/)

[Изтегляне](https://downloads.wordpress.org/plugin/bf-modal.1.1.3.zip)

 * [Детайли](https://bg.wordpress.org/plugins/bf-modal/#description)
 * [Оценки](https://bg.wordpress.org/plugins/bf-modal/#reviews)
 *  [Инсталиране](https://bg.wordpress.org/plugins/bf-modal/#installation)
 * [Разработка](https://bg.wordpress.org/plugins/bf-modal/#developers)

 [Поддръжка](https://wordpress.org/support/plugin/bf-modal/)

## Описание

BF Modal is made to convert any custom post type, page or post to modal. Plugin

automatically adds rewrite rules so you can still have nice and relevant URL when
popup is opened. Take full control of modal and override modal templates. You can
create custom modal templates so each page can have different template. You can 
also override based on post type.

## Снимки на разширението

[⌊The BF Modal Options Page⌉⌊The BF Modal Options Page⌉[

The BF Modal Options Page

[⌊Modal Options for pages⌉⌊Modal Options for pages⌉[

Modal Options for pages

## Инсталиране

Upload ‘bf-modal’ to the ‘/wp-content/plugins/’ directory

Activate the plugin through the ‘Plugins’ menu in WordPress

Convert pages and post types to modal

#### How this plugin works

 1. Simply go to BF Modal Options page and choose post type you want to convert to 
    modal
 2. Choose an archive page, page that will be displayed below this popup
 3. Go to Settings -> Permalinks and save permalinks so rewrite rules can be rewritten
 4. That’s it, you are good to go, post type single page will open in modal when you
    visit URL

If you add links to modal pages somewhere it will go to that link and open popup/
modal, but if you want to stay on the same page and not actually go to different
page then you can use

To your link you add class **js-bfml-modal-trigger** and post-data-id attribute 
with post id

Example:

    ```
    <a href="#" class="js-bfml-modal-trigger" data-post-data-id="12">
        This is a test post type Link
    </a>
    ```

If you want to convert pages to modal 1. Go to page you want to convert, find Modal
Page options meta box 2. Set Is Modal to true and set your archive page 3. Settings-
> Permalinks and save permalinks 4. Open your page and it will open as modal

## ЧЗВ

### What kind of support do you provide?

Please post your question on plugin support forum

## Отзиви

There are no reviews for this plugin.

## Сътрудници и разработчици

“BF Modal” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

 *   [ Bornfight ](https://profiles.wordpress.org/bornfight/)
 *   [ jmucak ](https://profiles.wordpress.org/jmucak/)

[Превеждане на “BF Modal” на вашия език.](https://translate.wordpress.org/projects/wp-plugins/bf-modal)

### Имате интерес към разработване?

[Преглеждане на кода](https://plugins.trac.wordpress.org/browser/bf-modal/), разглеждане
на [SVN хранилище](https://plugins.svn.wordpress.org/bf-modal/), или абонамент към
[програмната история (log)](https://plugins.trac.wordpress.org/log/bf-modal/) чрез
[RSS](https://plugins.trac.wordpress.org/log/bf-modal/?limit=100&mode=stop_on_copy&format=rss).

## Списък с промени

#### 1.0.11

_Release Date – 27 October 2021_
 First Release

#### 1.1.0

_Release Date – 06 December 2021_

 * New – added remove options on uninstall plugin
 * New – added flush rewrite rules when setting rewrite rules
 * New – added link to settings page

#### 1.1.1

_Release Date – 07 December 2021_

 * Fix – updated npm packages
 * Fix – updated saving post types options
 * Update – refactored code

#### 1.1.2

_Release Date – 07 March 2023_

*Fix – Modal admin page settings

#### 1.1.3

_Release Date – 20 April 2023_

*Fix – Modal scroll on mobile
 *Test – new WP version

## Мета

 *  Version **1.1.3**
 *  Last updated **Преди 3 години **
 *  Active installations **По-малко от 10**
 *  WordPress version ** 4.7 или по-висока **
 *  Tested up to **6.2.9**
 *  PHP version ** 7.4 или по-висока **
 *  Language
 * [English (US)](https://wordpress.org/plugins/bf-modal/)
 * Tags
 * [custom popup](https://bg.wordpress.org/plugins/tags/custom-popup/)[modal](https://bg.wordpress.org/plugins/tags/modal/)
   [popup](https://bg.wordpress.org/plugins/tags/popup/)
 *  [Разширен изглед](https://bg.wordpress.org/plugins/bf-modal/advanced/)

## Оценки

No reviews have been submitted yet.

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

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

## Сътрудници

 *   [ Bornfight ](https://profiles.wordpress.org/bornfight/)
 *   [ jmucak ](https://profiles.wordpress.org/jmucak/)

## Поддръжка

Имате да кажете нещо? Имете нужда от помощ?

 [Разглеждане на форумите за поддръжка](https://wordpress.org/support/plugin/bf-modal/)

## Дарение

Бихте ли желали да подкрепите успеха на разширението?

 [ Направете дарение за това разширение ](https://bg.wordpress.org/?output_format=md)