[WordPress] 外掛分享: Simple lightGallery

首頁外掛目錄 › Simple lightGallery
90+
安裝啟用
★★★★★
5/5 分(2 則評價)
334 天前
最後更新
問題解決
WordPress 5.3+ PHP 7.4+ v1.7.2 上架:2021-10-03

內容簡介

這是一個簡單的方式來整合 lightGallery javascript 的 v1 或 v2 版本到 WordPress 中。lightGallery 是一個輕巧、模組化、用於在網頁和行動裝置上建立美麗的圖像和影片庫的 JavaScript 庫。

功能

在「設置」>「簡單的 lightGallery」中,您可以找到幾個可控制網站上哪些部分將載入 lightGallery 的選項。

一些 lightGallery 的核心功能(引用自 lightGallery 官方網站)

完全響應式。
具備內建插件的模組化架構。
高度優化的觸控裝置。
桌面的滑鼠拖曳支援。
雙擊/雙點擊可查看圖像的實際尺寸。
動畫縮圖。
社交分享功能。
還有更多功能。

使用方法

選擇要載入 lightGallery 的文章類型和分類。
確認您正在使用正確的 標記 和適當的 初始化 來建立您的圖片庫。
如果您要在 WP 內建的 短碼中使用 lightGallery,請確保使用選項 link="file"。

欲瞭解更多使用技巧,請前往 lightGallery 官方網站

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple lightGallery」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

An easy way to integrate either v1 or v2 of lightGallery JavaScript to WordPress. lightGallery is a lightweight, modular, JavaScript library for creating beautiful image & video galleries for the web and the mobile
Features
In Settings > Simple lightGallery you can find several options to control in which parts of your site the lightGallery will be loaded.
Some of lightGallery core features (taken from lightGallery officially site)

Fully responsive.
Modular architecture with built in plugins.
Highly optimized for touch devices.
Mouse drag supports for desktops.
Double-click/Double-tap to see actual size of the image.
Animated thumbnails.
Social sharing.
And many more.

Usage

Select in which post_types and taxonomies you want the lightGallery to be loaded.
Make sure you are using the correct markup and the appropriate initialization for your galleries.
If you want to use lightGallery with WP native shortcode make sure to use it with the option link="file".

For more usage tips, go to lightGallery officially site

延伸相關外掛

文章
Filter
Apply Filters
Mastodon