Modal Dialog Plugin

özgür koca, ensei tankado, okocaözgür koca

Modal Dialog 2.2.5, wordpress plugin, install Modal Dialog, download Modal Dialog, dialog, modal, multiple, pop-up, window

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. The number of times that these can load is configurable. They can load content from external sites or custom HTML code into the dialog. This plugin can be used to invite people to register to a newsletter, respond to a survey, or simply welcome come to a site upon their first visit.

Download Modal Dialog Plugin


The purpose of this plugin is to allow users to create one or more modal dialog(s) / pop-up wi…


Tags: , , , ,


Check out the Modal Dialog site for a live demonstration.

Installation of Modal Dialog

  1. Download the plugin and unzip it.
  2. Upload the modal-dialog folder to the /wp-content/plugins/ directory of your web site.
  3. Activate the plugin in the WordPress Admin.
  4. Using the Configuration Panel for the plugin, configure as desired
  5. Dialogs can also be assigned to posts/pages within the editor


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:


= 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 });



  • Corrected problem with Activate option not working correctly


  • Added mechanism to register callback function to be called when the Modal Dialog is closed


  • Added option to display modal dialog when a new comment is posted (as a thank you note)


  • Added call to do_shortcode on dialogtext so that shortcodes can be inserted and processed for the content


  • Fixed issue with Modal Dialog not showing up after upgrading


  • Added option to only display dialog every X number of times that page is reloaded
  • Added option to not display dialog to users that are logged on to site


  • Updated version of jQuery Cookies script to try and resolve a problem with Chrome on PC


  • Changed IE-specific code only to display in IE7 or older
  • Tested against WordPress 3.2


  • Renamed jQuery.cookie.js to cookie.js to resolve a user issue


  • Declared global variable to hold plugin class to allow for external calls


  • Added back modal_dialog_init function. Should be called as $modal_dialog_init. No argument anymore.


  • Fixed error in Screen Options tab
  • Fixed admin page layout


  • Restored Manual Display option when calling Modal Dialog functions manually


  • Fixed internal error problem that appeared in version 2.0 on some systems


  • Adds ability to define multiple modal dialogs
  • Adds ability of assigning a modal dialog to a post/page in editor


  • Added button to easily delete all cookies for a site from admin panel to facilitate testing


  • Fixed code to get Modal Dialog only to show on specific pages or posts


  • Added ability to display Modal Dialog on specific single post pages


  • Tested for WordPress 3.1 Compatibility


  • Added call to reset query mechanism so that Modal Dialog properly writes code to page footer


  • Renamed installation function to avoid conflicts with plugin Mobile Detector


  • Added option to auto-close dialog after a user-defined period (set in milliseconds)


  • Made cookies global to the site instead of specific to a page


  • Added new option to control overlay opacity


  • Extended manual cookie creation to session cookies that control only showing the dialog once per session


  • Added option to tell Modal Dialog that you will manually set the cookie manually after the dialog is displayed


  • Added parameters to API calls to allow user to call on specific page templates


  • Added option to only show modal dialog once on a site per browser session
  • Added option to keep modal dialog centered on page when user scrolls
  • Added option to hide close button to allow user to control dialog closing through code


  • Added option to force user the specification of pages on which Modal Dialog should be displayed
  • Added option to display Modal Dialog on front page


  • Removed border color option to avoid conflicts with other plugins using fancybox


  • Changed way that background color and text color are applied to avoid conflicts with other plugins using fancybox


  • Prevent modal-dialog code from executing when viewing admin pages to avoid conflicts with admin page scripts


  • Fixed: Background Color and Text Color now work as expected
  • Added: Border Color Option


  • Fixed: Images (border / close icon) not showing up correctly in Internet Explorer
  • Fixed: Dialog Width and Height configuration parameters were ignored


  • Removed unnecessary debug statement


  • Fixed: Removed reference to missing function to change plugin icon


  • Corrected problem with special HTML characters getting stripped out of dialog content when specifying in text box.
  • Added option to auto-resize dialog


  • Upgraded fancybox plugin to latest version
  • Added option to specify number of times to display dialog
  • Added option to specify how modal dialog can be closed.


  • First release

Tags: , , , , , , , ,


  1. As the admin of this web page is working, no doubt very rapidly it will be well-known, due to
    its quality contents.

Leave a comment