Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

⌘K
  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Modal / Popup Box
  6. How to trigger Modal Box by URL?

How to trigger Modal Box by URL?

PowerPack’s Modal Popup Box module has the capability to create custom content, image, video, form, template popup boxes with various trigger options – auto-load, on-click, and exit intent. 

Here we will discuss how to trigger Modal Box by URL:

  • Head over to Modal Box > Settings
  • Copy your unique Modal ID from the description. Check the screenshot below for an example.
PowerPack Modal Box settings
Modal Box Settings
  • Now append the unique Modal ID to the existing URL prefix with “#modal-“. For example, https://www.example.com/#modal-5e69c651da2dc
  • Add the URL to any button or link, which should trigger the Modal Box.

Note: If you want to trigger the same Modal Box from all pages, consider adding it to the footer so that on every page it can be triggered via URL.

×