[WordPress] 外掛分享: Gallery 5cript

首頁外掛目錄 › Gallery 5cript
WordPress 外掛 Gallery 5cript 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
218 天前
最後更新
問題解決
WordPress 6.6.0+ PHP 8.1+ v2.0.0 上架:2024-10-09

內容簡介

總結:這款 WordPress 外掛具有完整跨瀏覽器支持的對話框元素,提供多項優點,包括自動居中、顯示於所有其他視窗頂層、自動專注、預設 Esc 鍵功能關閉模式,並加強其無障礙功能。此外,該外掛採用各種 WordPress 圖像大小,支援 TypeScript 和 YouTube 影片,具有自訂樣式選項和獨立數據庫表,有效減輕負擔。

問題與答案:
1. 什麼是 WordPress 外掛中的對話框元素?
- 這是一個於2014年推出,並於2022年具有完整跨瀏覽器支持的元素,提供多項功能優勢。
2. 該外掛相對於其他插件有何特別之處?
- 與其他類似插件不同的是,它採用對話框元素,並支持自動居中、顯示於視窗頂層、自動專注、Esc 鍵關閉等功能,帶來更好的無障礙體驗。
3. 這款外掛支援哪些功能和優勢?
- 外掛支援各種 WordPress 圖像大小、TypeScript、YouTube 影片、字幕等,還可自訂 CSS 和具有獨立數據庫表。
4. 該外掛如何展示演示?
- 您可以在此鏈接找到演示:https://gallery.5cript.com/
5. 外掛是否依賴第三方服務?如果是,是哪個服務?
- 是的,這款外掛依賴 YouTube 嵌入功能提供視頻服務。該服務鏈接在這裡:https://www.youtube.com/
6. 使用此外掛需要用戶接受哪些條款?
- 即使使用了youtube-nocookie.com(即“啟用隱私增強模式”),使用這款插件的網站需求用戶接受可允許第三方使用的 cookie。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

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

原文外掛簡介

Welcome to Gallery 5cript—the WordPress gallery plugin built from scratch in 2024, designed for the websites of today! 🚀
✨ 1. Modern Dialog: Built-in dialog element for seamless interactions, accessibility, and SEO optimization.
📸 2. Optimized Images: Uses the picture element with custom WordPress sizes, delivering the right image for every device.
🎨 3. Cutting-edge Front-End: Developed with TailwindCSS and TypeScript for reliable, modern and responsive interface.
🎥 4. Video & Captions: Supports video galleries and captions, adding more depth to your content.
🧹 5. Clean Database: Uses custom database tables, keeping your posts and meta tables clutter-free.
🔗 6. API: Manage galleries programmatically with RESTful endpoints.
Gallery 5cript—Built for the modern web! ✨ Download for free!

LIVE DEMO: Link Text
API Endpoints
Gallery 5cript exposes the following API endpoints to manage galleries programmatically:

List all galleries

Endpoint: /5cript-gallery/v1/galleries
Method: GET
Description: Retrieves all gallery IDs.

Get a specific gallery

Endpoint: /5cript-gallery/v1/gallery/{id}
Method: GET
Description: Retrieves details of a gallery by its ID.
Parameters:

id (integer): The ID of the gallery.

Get all images in a gallery

Endpoint: /5cript-gallery/v1/gallery/{id}/images
Method: GET
Description: Retrieves all images for a specific gallery by ID.
Parameters:

id (integer): The ID of the gallery.

To enable or disable the API, visit the plugin settings in the WordPress admin area. By default, the API is enabled.
Why Dialog
The dialog element was introduced in 2014 and has had full cross-browser support since 2022. While there are many plugins that offer similar functionality, none (to my knowledge at the time of writing) utilize the dialog element. This is likely due to concerns about backward compatibility, which could pose issues for the end users of those plugins.
But why use dialog, you ask?
- It's automatically centered.
- It appears on top of everything else using the 'top-layer', not just z-index.
- It auto-focuses, providing better accessibility for users.
- It comes with an out-of-the-box Esc key function to close the modal.
- We've enhanced the dialog with additional accessibility features, including ARIA labels and best practices.

More perks

- We're using the picture element with various WordPress image sizes, allowing the browser to choose the most appropriate one to download.
- All front-end JavaScript is strongly typed with TypeScript.
- It supports YouTube videos.
- Captions are supported as well.
- You can add your own custom CSS.
- It has its own database tables, so it doesn't add extra load to the already heavily used post and meta tables. This also ensures that you can delete it without leaving any residue.
- New: API

Demo

You can find a demo here: [Link Text](https://gallery.5cript.com/)

3rd Party Services

This plugin rely on youtube embed functionality to serve videos. That is only if you choose to display videos in your galleries.

A link to that service: https://www.youtube.com/
Policy about embed videos: https://support.google.com/youtube/search?q=policy+embed+video&oq=policy+embde+video&spell=1#zippy=%2Care-you-allowed-to-embed-youtube-videos
Generic terms and conditions of Youtube: https://www.youtube.com/static?template=terms
Even though the youtube-nocookie.com is used, aka “Enable privacy-enhanced mode”, it is necessary that websites that making use of this plugin to require users to accept cookies that allow for third-party use.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon