Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

Modal Guten Block

Leírás

This project provides a modal / popup block for the WordPress Gutenberg editor.

  • Multiple methods for triggering modal including button, text link, image link, external class, and page load.
  • User definable modal content using Gutenberg blocks, for example, image, paragraph etc.
  • Support for multiple modal window sizes.
  • Lots of customizable options including Trigger Button Label, Button Color, Trigger Text, Trigger Text Size, Trigger Image, Trigger Class, Modal Delay, Trigger Element Alignment, Overlay Background Color, Title Text Size, Title Font Color, Title Background Color, Title Padding, Border Radius.
  • Supports multiple modals on the same page.
  • ADA compliant.
  • Modal to modal links.
  • Multiple ways to close the modal.
    • Escape key
    • Close button ‘X’ in the top right of the screen.
    • Close button ‘X’ in the modal title.
    • Close button at the bottom on the modal content.
  • Uses create-guton-block for easy config.

Donations

If you like the plugin, consider a donation to support further development. Click here

Képernyőmentések

  • Sample modal window.
  • Modal Guten Block in editor.

Blokkok

This plugin provides 1 block.

  • Modal Guten Block

Telepítés

From your WordPress dashboard

  1. Visit Plugins > Add New
  2. Search for “Modal Block”
  3. Install the “Modal Block” plugin
  4. Activate “Modal Block” from your Plugins page
  5. Insert Block on your Gutenberg Editor and select “Modal Block” which is located in Widgets.

Vélemények

2022.04.01.
Practical and lightweight plugin. Well integrated. Good job. It would be nice to improve the interface for customization especially for the button. And a X button for closing at the top would be great. In general it works fine.
2022.03.19.
Well integrated into Gutenberg with a lot of options that allow customization. Thanks for sharing this!
2021.10.09.
Thank you for this plugin! Works great and I gladly put in a donation to support your efforts. It is absolutely worth five stars as is, but it would be perfect if I could also trigger a pop-up by clicking on a text link, like a few words in an text block, which is what I do now to link to a URL accessible item. So in addition to the dedicated text trigger option you already have, but which creates a dedicated block. I don't know if that is even possible of course. If not, no problem, still a great plug-in.
11 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“Modal Guten Block” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“Modal Guten Block” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

1.5

  • modal to modal links, text align title, title close button

1.4.3

  • Option to disable close modal on Escape key press.

1.4.2

  • Fixed issue where clicking on nested content in edit mode resulted in modal edit content box closing.
  • When modal opened focus on first element but do not scroll to it. Stops modal opening at bottom.

1.4.1

  • Fix for when we trigger on image and image is smaller than medium size. In this case we default in the full size image.

1.4

  • Make ADA compliant including using button instead of span, setting / returning focus and focus trapping.
  • Add custom class to dialog when modal opens.
  • Add toggle option to disable close on overlay click.

1.3

  • Optional display only once for timer based modals. Modal Id links timer modals on different pages to say they are the same. Also ability to say how long before modal is shown again.

1.2

  • Change icon to use SVG – use alt tag from trigger image – optional close btn in modal

1.1

  • Update for deprecated wp.editor (changed to wp.blockEditor) and core/editor (changed to core/block-editor).

1.0.0 (8/19/2019)

  • First release