Beskrivelse
Create a fully responsive image slider as a native block — and nothing more. One simple block with everything it needs.
Version 3.0 removes jQuery and the slick carousel library entirely. The slider is now powered by native CSS scroll-snapping and a tiny script, so it is faster, works before JavaScript loads, and its assets are only loaded on pages that actually contain a slider.
Features:
- Simple image slider with fade or scroll effect
- Autoplay with separate “time between slides” and transition speed settings, plus pause on hover
- Optional arrow and dot navigation
- Optional infinite looping
- Crop images to a uniform ratio, or keep natural sizes with adaptive height
- Image linking to the media file, attachment page or a custom URL
- Choose the image resolution used in the slider
- Accessible: play/pause button, keyboard navigation, screen-reader labels, respects reduced-motion preferences
- Lightweight: no jQuery, no external libraries, assets load only where the block is used
Blokke
Dette plugin giver 1 blok.
- Image Slider Block Display multiple images in an elegant, lightweight slider.
Installation
- Upload the extracted plugin files to the
/wp-content/pluginsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the “Plugins” menu in WordPress.
- Find the Image Slider block in the Media category of the block inserter.
FAQ
-
Can I change the arrow or dot icons?
-
There is no setting for this, but the controls are plain buttons (
.isb-arrow,.isb-dots button,.isb-pause) that you can restyle with custom CSS. -
Will my existing sliders keep working after updating to 3.0?
-
Yes. Sliders created with older versions keep working on the frontend as they are, and are upgraded to the new format automatically the next time you edit the post.
Anmeldelser
Bidragsydere & udviklere
“Image Slider Block” er open source-software. Følgende personer har bidraget til dette plugin.
Bidragsydere“Image Slider Block” er blevet oversat til 1 sprog. Tak til oversætterne for deres bidrag.
Oversæt “Image Slider Block” til dit eget sprog.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
3.0.0
- Replaced jQuery and the slick library with a dependency-free slider built on native CSS scroll-snap
- Fixed unstable image sizes on WordPress 6.7+ — images are now saved with explicit dimensions
- Slider scripts and styles now load only on pages that contain the block
- Fixed “Pause on hover” never being applied on the frontend
- New: separate autoplay interval (“Time between slides”) and transition speed settings
- New: infinite loop toggle, image crop toggle and image resolution setting
- New: reorder images directly in the editor
- New: accessible controls — play/pause button, keyboard navigation, screen-reader labels; reduced-motion preference is respected
- The editor now shows a true slider preview
- Existing sliders are migrated automatically when the post is next edited
2.0.1
- Bug fixes
2.0
- Added feature for adaptive height
- Added feature for pause on hover
- Added feature to use custom URL and open in a new tab
- Updated to Blocks API version 2.0
1.1
- Bug fixes
1.0
- Initial release


