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.
Top keywords
- gallery14×2.57%
- id8×1.47%
- dialog7×1.28%
- api6×1.10%
- galleries6×1.10%
- youtube6×1.10%
- com5×0.92%
- element5×0.92%
- 5cript4×0.73%
- gallery 5cript4×0.73%
- https4×0.73%
- images4×0.73%
MakeITeasy Popup
Need popups to grab your users’ attention? Marketing call-to-actions that open on scroll, timer, click, matched referer, hover, or exit intent? Multiple popups on one page? This plugin has it all. It provides styling consistent with core block editor blocks plus additional features. Why choose Makeiteasy Popup? ▶️ Unlike some other plugins, Makeiteasy Popup integrates seamlessly with WordPress, feeling like a native, built-in WP block. It’s lightweight and self-sufficient, without the heavy burden of a large blocks library. It relies on a single tiny dependency – micromodal.js – with a combined total of only 10 kB of JavaScript❕ 👆 Try demo – there is a “Live preview” button on the top of this page 👆 ❗ Sometimes “Live preview” does not start due to slower responds of servers with resources. If progress stops with black screen or progress indicator does not advance anymore (loading should be finished at max 30 seconds) – in that case please refresh the page in browser. Key Features 🥇 Feature-Rich and free. 🥈 Fully Open Source: Including the block source code. Fork and adjust as needed. 🥉 Developer friendly: Hooks for modifications and unopinionated starting CSS. ⏲️ Future-Proof Compatibility: Guaranteed compatibility with future WordPress versions. 🆕 Added “open on exit intent” feature. It works only on desktop. When popup is set up to open on exit intent and user moves mouse outside the top border of the browser inner window (screen), popup appears. User can choose when feature is activated (after how many seconds since page was loaded), so popup can’t open too early. ⏱️❗Queue if another popup is opened, popup is placed in queue and opened upon closing the former. Known limitations Currently, opening several modal popups simultaneously is impossible due to the limitations of the Micromodal.js library. Future versions will replace this library with the native Dialog HTML element, including automatic migration for existing popups. Block options The block sidebar provides many options, most of which function similarly to other blocks. Notable options include: – Opening time selector: See the detailed section below. – Layout type: Floating, Fixed, Attached – Popup Enabled: Temporarily hide the popup without deleting it. – Open on interval: Open on given interval in days. – Open on matching referer: Open if the user’s referral URL matches. Layout Types Floating: popup floats above content. Clicking on area outside popup closes it. Fixed: popup is “fixed” to one of sides of screen — top, bottom, right, left Attached: popup is attached to element on screen. When user scrolls, it moves with it. Modality Modal: popup blocks everything else on screen, scrolling is not possible, popup can be closed by clicking outside of popup Modeless: popup is non-blocking, user can scroll, popup can’t be closed by clicking outside of popup Developers Github repository https://github.com/Lovor01/makeiteasy-popup Changing the Close button Using Javascript: import { ReactComponent as CloseIcon } from '../assets/close-x.svg'; addFilter( 'makeiteasy-closeButtonIcon', 'makeiteasy/makeiteasy-popup/close-icon', () => ( ) ); If you customize button this way and you already have posts(or pages) with popup block, on post reopening the message “This block contains unexpected or invalid content.” will be presented. In such case choose “Attempt to repair block” and if it looks good, save post. Using PHP: add_action( 'render_block_makeiteasy/popup', function($content) { $svg = file_get_contents( __DIR__ . '/path_to_file/close-button-dark.svg' ); return preg_replace( '~( ).*( )~m', "$1$svg$2", $content ); } ); Attaching Code to Modal Events Custom events ‘makeiteasy/openModal’ and ‘makeiteasy/closeModal’ are fired on modal open and close. Events fire on modal itself, DOM element with class .wp-block-makeiteasy-popup.