Popup script options

This page contains examples for the JSON formatted options that can be set for popup forms when using the popup form shortcode or widget. The options for the popup script depends on what popup script is currently loaded on the site, you can check this at Forms → Settings → Tweaks & Troubleshooting → Popup script.

Fancybox 2 (default)

1
{"width":500,"height":400}
{"width":500,"height":400}

See the Fancybox 2 documentation for all available options.

Fancybox 1

1
{"width":500,"height":400}
{"width":500,"height":400}

See the Fancybox 1 documentation for all available options.

Magnific Popup

1
{"closeOnBgClick":false,"enableEscapeKey":false}
{"closeOnBgClick":false,"enableEscapeKey":false}

See the Magnific Popup documentation for all available options.

Still having trouble? Head over to the forums.

Forums