Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Ultimate Modal

Description

Displays a modal on your WordPress site, configuring the contents with an editor.

Check the Screenshots for examples.

Credits

License

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/.

Captures d’écrans

  • Settings page.
  • Plugin in action.

Installation

  • 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.

FAQ

What is the plugin license?

  • This plugin is released under a GPL license.

How to display or hide on some pages?

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' );

Avis

31 janvier 2017
Pro: Easy to use, the modal can be turned on/off with a switch. Bad: The preview option doesn’t display the content. Only one modal can be created at a time.
Lire les 8 avis

Contributeurs/contributrices & développeurs/développeuses

« Ultimate Modal » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Ultimate Modal » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

1.4.2 – 18/03/2014

  • Added the ultimatemodal_is_visible filter.

1.4.1 – 05/03/2014

  • Fixed the modal cookie creation.

1.4.0 – 04/03/2014

  • 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.

1.3.0 – 16/12/2013

  • Fixed some code standards.
  • Added ability to run the modal shortcodes.
  • Added option to configure delay in the modal.

1.2.2 – 13/12/2013

  • Fixed some code standards.
  • Added support to WordPress 3.8.

1.2.1 – 29/10/2013

  • Fixed a bug in plugins page.
  • Fixed the scripts load in admin.

1.2.0 – 27/10/2013

  • 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.

1.1.1 – 24/05/2013

  • Fixed standards.
  • Removed filter the_action in favor to wpautop() function.

1.1.0 – 24/05/2013

  • Removed the modal_js_vars method in favor to wp_localize_script.
  • Improved use of JSHint to validate the javascript files.

1.0.0

  • Initial Version.