這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Zurb Foundation 5 Clearing Gallery

外掛說明

Enhance WordPress gallery shortcode content with the Zurb Foundation Clearing lightbox. Just enable and all gallery shortcodes will use Clearing.

You can add a gallery just as you normally would including setting up the number of columns.

The plugin supports up to 6 columns for any gallery, it will fall back to 4 column grid for invalid values.

MOBILE: Note that the foundation mobile classes have already been added for each gallery size.
That said you can use the filters below to alter any foundation classes applied to the
block grid.

There are also a number of filters devs can use to alter output.

Verified contrib2dev project #9086f6999a63a347ba7a70c521d52222. Support this project on contrib2dev.com.

Filters

  • prso_found_gallery_large_class -> Foundation large class for grid block
  • prso_found_gallery_small_class -> Foundation small class for grid block
  • prso_found_gallery_image_caption -> Filter caption for each image in gallery
  • prso_found_gallery_li_class -> Filter class applied to each li item in block grid
  • prso_found_gallery_output -> Filter overall html output for gallery

螢幕擷圖

  • Default Wordpress gallery in Foundation 5.
  • Wordpress gallery using plugin, nice block grid there!
  • Example of Clearing lightbox at work.

安裝方式

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Start adding galleries to posts/pages via wordpress add media interface

常見問題集

More info in GitHub repo – https://github.com/pressoholics/prso-foundation-5-clearing-gallery

Will this work without Zurb Foundation

No. This plugin will only work with a theme using the Zurb Foundation framework, version 4 and 5.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Zurb Foundation 5 Clearing Gallery〉的開發相關工作。

參與者

變更記錄

1.01

  • Confirmed plugin supports WordPress 4.0

1.0

  • Added some filters for devs to use