Popup Block

Description

This plugin adds a customizable Popup Block to the WordPress block editor.

Screenshots

  • Block preview
  • Block Appearance Options
  • Block Open/Close Advanced Options

Blocks

This plugin provides 1 block.

  • Popup A popup/modal block for the WordPress block editor.

Installation

  1. Install the plugin via the plugin installer, either by searching for it or uploading a .ZIP file.
  2. Activate the plugin.
  3. Use the Popup Block for WordPress!

Reviews

2 сар 26, 2021
Does exactly what I wanted it and what it says to do. Two things that maybe are useful for others: 1. I wanted to call a JS function on close. So I added my stopVideos call (if it is there) to the frontend.js file of the plugin: {key:"closeModal",value:function(){ if(typeof stopVideos=='function'){stopVideos();} If there is any better way, let me now (same for 2). 2. The pink logo svg in the editor was way too huge for me. I don't know the reason, but to dodge it I wrote the following rule into the corresponding editor CSS file of my theme: .popup-preview svg {display: none;}
2 сар 10, 2021
Lightweight block does exactly as advertised. Can activate by anchor link and a few other ways such as: page exit, timer, scroll location. Make sure to put it at the top of editor blocks, otherwise it does a few funky things when displaying.
Read all 3 reviews

Contributors & Developers

“Popup Block” is open source software. The following people have contributed to this plugin.

Contributors

“Popup Block” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Popup Block” into your language.

Interested in development?

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

Changelog

0.0.4

  • Bump version to proper one

0.0.3

  • Allow opening using links href attribute

0.0.2

  • Fix exit intent not working in firefox
  • Fix close button hiding not working
  • Fix unique identifier for modal having wrong type, causing block to get invalidated
  • Overflow when content has large height
  • Open after scroll offset was not properly calculated

0.0.1

  • Initial release.