WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Modal Dialog

The purpose of this plugin is to allow users to create one or more modal dialog(s) / pop-up window(s) that will appear when a user visits their site.

Why is Modal Dialog not showing up on my web site?

There are typically two main reasons why Modal Dialog does not show up correctly on web pages:

1- You have another plugin installed which uses jQuery on your site that has its own version of jQuery instead of using the default version that is part of the WordPress install. To see if this is the case, go to your site and look at the page source, then search for jQuery. If you see some versions of jQuery that get loaded from plugin directories, then this is most likely the source of the problem as they would conflict with the jQuery 1.3.2 that is delivered with WordPress.

2- The other thing to check is to see if your theme has the wp_head and wp_footer functions in the theme's header. If these functions are not present, then the plugin will not work as expected.

You can send me a link to your web site if these solutions don't help you so that I can see what is happening myself and try to provide a solution.

How can I close the Modal Dialog Window Manually?

You can create a button or other control that calls the following javascript:

parent.jQuery.fancybox.close();

= How can I manually set the cookie if I ask Modal Dialog to let me do it manually?

Call the following javascript / jQuery function, setting the cookie-name to match the name entered in the Modal Dialog settings, the cookievalue and the duration to any duration that you deem acceptable.

jQuery.cookie('cookie-name', cookievalue, { expires: 365 });

Requires: 2.8 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-19
Downloads: 63,970

Ratings

4 stars
4.6 out of 5 stars

Support

3 of 10 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,1,1 100,1,1 100,1,1
100,3,3
100,2,2 100,4,4
100,1,1
50,2,1 100,1,1
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
0,1,0
100,3,3
100,1,1
100,2,2 100,1,1
100,2,2
50,2,1
0,1,0
67,3,2
100,2,2
0,1,0
0,1,0
100,1,1
100,2,2
100,1,1