跳到内容

Extrnd Block Slider

v1.1.0

sulaimandauda · 2026年4月9日 上架

Responsive slider blocks for the WordPress editor with navigation controls, layout presets, and accessible frontend output.

正在使用
10 以下
评分
暂无
累计下载
423
最近更新
2026年4月10日
需要 WordPress 6.5+已测试到 6.9.12PHP 8.1+

贡献者

截图

Slider block in the Gutenberg editor
Slider block in the Gutenberg editor
Inspector panel with slider settings
Inspector panel with slider settings
Frontend rendering with arrows and dots
Frontend rendering with arrows and dots
Extrnd Block Slider

Extrnd Block Slider adds a slider block for the WordPress editor with responsive layout controls, navigation options, and accessible frontend output. It uses the Embla Carousel library for touch-friendly scrolling and does not require jQuery.

Key Features:

  • Small frontend assets — streamlined JavaScript and CSS for frontend rendering
  • Zero jQuery — no jQuery dependency, not even transitively
  • Gutenberg native — configure everything inside the block editor, no admin pages
  • 9 presets — Default, Hero, Gallery, Cards, Testimonials, Fullscreen, Logo Carousel, Coverflow, Fade
  • 6 transition effects — Slide, Fade, Scale, Parallax, Coverflow, Flip with smooth scroll-based animations
  • 5 arrow styles — Default, Rounded, Minimal, Outline, Circle
  • 5 arrow positions — Sides, Bottom Right, Bottom Left, Bottom Center, Outside
  • 5 pagination styles — Dots, Lines, Dashes, Numbers, Outline
  • 3 pagination positions — Bottom, Right, Left
  • Progress bar — thin scroll-based progress indicator
  • Slide counter — shows current/total slide count (e.g. 1 / 5)
  • Navigation colours — customise arrow background, arrow icon, dot, and active dot colours
  • Responsive breakpoints — desktop, tablet (≤ 1024 px), and mobile (≤ 768 px) slides per view
  • Settings & Styles tabs — organised into Settings (Preset, Layout, Playback) and Styles (Effects, Navigation, Colors) tabs
  • Accessible — full keyboard navigation, screen reader announcements, reduced motion support
  • Developer friendly — PHP filter (extrnd_block_slider_options) and JS hooks (extrndSlider.options, extrndSlider.init, extrndSlider.slideChange)
  • Block transforms — convert Gallery, Group, or multi-selected blocks to/from Slider
  • Lazy initialisation — sliders below the fold only initialise when scrolled into view
  • Dynamic rendering — PHP render callback ensures future-proof output with zero block validation errors

Presets:

  • Default — standard full-width slider
  • Hero — 80 vh feature banner with fade transition
  • Gallery — multi-slide with 16 px gap
  • Cards — 3 visible slides with 24 px gap
  • Testimonials — centred single testimonial
  • Fullscreen — edge-to-edge 100 dvh
  • Logo Carousel — continuous-scroll brand logos
  • Coverflow — 3D coverflow effect
  • Fade — crossfade transitions

Development

The full uncompiled source code is included in the src/ directory. The build/ directory contains the compiled assets generated by esbuild. To regenerate the build files from source, run npm install followed by npm run build.

Third-Party Libraries

This plugin includes the Embla Carousel library for slider behaviour.

  • Project: Embla Carousel
  • Repository: https://github.com/davidjerleke/embla-carousel

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums