How to open On click /On hover Popup via the shortcodes

Shortcodes give an opportunity to insert a Popup in an easy and quick way.

 

To start the process:

1. Go to any Post/Page on your WordPress Dashboard.

2. Press on Add block and choose Classic.

3. Click on the Popup widget

In case you use an old version of WordPress, you can add it directly from the editor.

4. Select the proper Popup and Event (an action after which the popup will appear) from the dropbox, after please click on the Insert button.

Here, there are 4 types of events to choose from:

  • Inherit
  • On load
  • On click
  • On hover

Text mode review

Let's suppose you want to add an Iframe Popup with an On click event. After all adjustments, the following result you will see on your website.

And the result