Contributors: claudiosanches
Donate link: http://claudiosmweb.com/doacoes/
Tags: modal, popup
Requires at least: 3.8
Tested up to: 3.9
Stable tag: 1.4.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Displays a modal content in your WordPress
Displays a modal on your WordPress site, configuring the contents with an editor.
Check the Screenshots for examples.
- jquery.cookie by Klaus Hartl
- Icon by Victor Erixon
- Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
- Activate the plugin;
- Navigate to Settings -> Ultimate Modal and fill the options.
- This plugin is released under a GPL license.
Use the ultimatemodal_is_visible filter to control the display.
Example to hide in pages:
/**
* Hide the modal in pages.
*
* @param bool $display
*
* @return bool
*/
function ultimatemodal_hide_in_pages( $display ) {
if ( is_page() ) {
$display = false;
}
return $display;
}
add_filter( 'ultimatemodal_is_visible', 'ultimatemodal_hide_in_pages' );
- Added the
ultimatemodal_is_visiblefilter.
- Fixed the modal cookie creation.
- Allowed auto embed / oEmbed in the modal content.
- Improved the cookie renewal when save the plugin settings.
- Improved the modal close, to prevent errors with videos and audios.
- Fixed some code standards.
- Added ability to run the modal shortcodes.
- Added option to configure delay in the modal.
- Fixed some code standards.
- Added support to WordPress 3.8.
- Fixed a bug in plugins page.
- Fixed the scripts load in admin.
- Added option to preview the modal in plugin settings page.
- Added method to reset the cookie when alter the modal content.
- Fixed the textdomain for new WordPress 3.7 standard.
- Fixed standards.
- Removed filter the_action in favor to wpautop() function.
- Removed the modal_js_vars method in favor to wp_localize_script.
- Improved use of JSHint to validate the javascript files.
- Initial Version.
- Added the
ultimatemodal_is_visiblefilter.
Ultimate Modal is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Ultimate Modal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Ultimate Modal. If not, see http://www.gnu.org/licenses/.

