该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Magnific Popup

描述

This basic plugin adds the Magnific Popup lightbox script to wordpress site and works with single images, iframe links and dialogs.

All you need to do to use Magnific Popup on a link is to add specific css class to ‘a’ tag. CSS class names can be configured on settings page.

For images you can use alt attribute to add captions.

Thanks to Dmitry Semenov for the original script: http://dimsemenov.com/plugins/magnific-popup/

This plugin is only basic version and does not support all features of Magnific Popup yet.

Plugin provides following functionality:

  • Single image popup.

Usage example html:

  • Image gallery popup with navigation.

Usage example html:




  • Iframe popup (can contain external page, youtube video, google map, etc.)

Usage example html:
Video
Google Map

  • Dialog popup (pops up a div from the current page)

Usage example html:
Dialog

Test dialog content

屏幕截图

  • Single image popup
  • Image gallery popup
  • Youtube video popup
  • Google map popup

安装

Use the automatic installer from within the WordPress admin, or:

  1. Download the .zip file by clicking on the Download button on the right
  2. Unzip the file
  3. Upload the files to your plugins directory
  4. Go to the Plugins page from within the WordPress administration
  5. Click Activate for WP Magnific Popup
  6. After activation a new WP Magnific Popup options menu will appear under Settings.
  7. Visit the Settings page to adjust values as you need.

You can now start using the plugin.

评价

阅读所有5条评价

贡献者及开发者

「WP Magnific Popup」是开源软件。 以下人员对此插件做出了贡献。

贡献者