這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Magnific Popup 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄