WordPress.org

Plugin Directory

Carousel Slider Block for Gutenberg

Carousel Slider Block for Gutenberg

Beskrivelse

A responsive modern carousel slider for the Gutenberg block editor that lets you add any blocks to your slides. Easily create sliders for hero sections, testimonials, products, and anything else using Gutenberg blocks.

🚀 Carousel Slider Version 2 is built on the modern Swiper.js library for improved performance and better mobile compatibility.

Plugin site: carouselblock.com

Funktioner

Indstillinger

Advanced Settings

For dynamic layouts where the slider or its surrounding layout changes after load, such as tabs, accordions, or lazy-loaded content.

Plugin Settings

Plugin settings are available from Settings > Carousel Slider in the WordPress admin.

Available options include showing legacy carousel blocks, hiding the legacy warning notice, and loading the full Swiper bundle instead of the default custom Swiper build.

Included Patterns

The final look of these sliders depends on your theme styles. You can also fine-tune the design using custom CSS variables (see below).

Systemkrav

PHP 5.6+ anbefales, WordPress 5.8+, med Gutenberg aktiv.

Dokumentation

Full documentation: carouselblock.com/docs

Vælg blokken Slide-karrusel fra kategorien Design. Klik på + knappen for enden af karrusellen for at tilføje slide. Tilføj en vilkårlig blok i sliden. Brug den vandrette rullebjælke til at få vist slidene i editoren.

Du kan ændre rækkefølgen af slidene ved at bruge pileknapperne til venstre og højre i værktøjslinjen.

For at fjerne en slide, skal du vælge sliden og klikke på de tre prikker (kebab) lige over det. Klik på indstillingen Fjern Slide for at fjerne det pågældende slide.

Klik på karruselblokken (blokken, der indlejrer alle slide) for at vise karruselindstillingerne.

Upgrading from Legacy Carousel

See the support topic for upgrading legacy blocks to Carousel Slider Version 2.

Carousel Slider settings are available from Settings > Carousel Slider in the WordPress admin.

Customizing Styles

Carousel Slider v2 supports custom styling via CSS variables:

Styling documentation: carouselblock.com/docs?doc=styling

Navigation

Pagination (dots)

Block Spacing

Theme JSON Support

All the CSS variables can also be defined directly inside your theme’s theme.json under the settings.custom key.

For example:

{
  "settings": {
    "custom": {
      "carousel-block": {
        "navigation-size": "22px",
        "navigation-color": "#000",
        "pagination-bullet-active-color": "#000"
      }
    }
  }
}

Frontend API

Carousel Slider exposes a small frontend API for integrations with tabs, accordions, modals, or other hidden UI.

For some of these dynamic layout cases, the Advanced Settings observer options can also handle updates automatically.

Skærmbilleder

Blokke

Dette plugin giver 2 blokke.

Carousel Slider Display a carousel using any blocks as slides. Slide A single slide within the carousel.

Installation

  1. Gå til Plugins -> Tilføj nyt i dit WordPress-Kontrolpanel.
  2. Søg efter Carousel Slider Block i feltet Søg efter plugins.
  3. Klik på Installer nu for at installere plugin’et Slide-karruselblok.
  4. Klik på Aktivér for at aktivere plugin’et.
  5. Carousel Slider Block will be added to the Design block group in the editor.

Hvis du stadig har brug for hjælp, kan du besøge WordPress codex

FAQ

Hvad er Gutenberg?

Gutenberg er navnet på den nye blokbaserede editor, der blev introduceret i WordPress 5. Gutenberg gør det nemt at oprette indhold i editoren ved hjælp af blokke.

Hvordan tilføjer jeg en karrusel til WordPress?

Vælg blokken Slide-karrusel fra kategorien Design.

Hvordan tilføjer jeg en slide til WordPress?

Vælg blokken Slide-karrusel. Klik på + knappen for at tilføje slide til karrusellen.

How do I add an image carousel in Gutenberg?

Add the Carousel Slider block from the block inserter and upload images or create slides inside the block. Each slide can contain images, text, or other blocks.

Can I add multiple carousels on the same page?

Yes. You can add multiple Carousel Slider blocks to a page or post and each carousel will work independently.

Can I add images and text inside carousel slides?

Yes. Each slide can contain images, text, buttons, or other blocks depending on how you want to design your carousel.

Is the carousel mobile friendly?

Yes. The carousel is fully responsive and works on mobile phones, tablets, and desktop devices.

Can I use the carousel in posts and pages?

Yes. The Carousel Slider block works in both WordPress posts and pages anywhere the block editor is available.

How can I make the carousel performant in WordPress?

The Carousel Slider block uses the lightweight Swiper library for fast and smooth performance. For best results, use optimized images and enable lazy loading on any Image blocks inside slides so images load only when needed.

How do I make the slider update inside tabs, accordions, modals, or other dynamic layouts?

Use the Advanced Settings observer options when the slider or its surrounding layout changes after load. For custom integrations, you can also call window.CarouselSliderBlock.init( container ) or window.CarouselSliderBlock.update( container ) after the layout changes.

Why does the plugin use Swiper.js?

The Carousel Slider block uses the lightweight Swiper.js library because it provides fast, smooth, and responsive sliders. Swiper is widely used, mobile-friendly, and optimized for performance.

How do I add a slider to WordPress without coding?

Install the Carousel Slider plugin and add the Carousel Slider block to your page or post using the block editor.

Anmeldelser

8. juni, 2026
This came after I tried 5 or so others (including one I tried to code myself). Those were all flawed, this one works out of the box. I haven’t delved too deeply in how it works or what it does, but so far seems to combine configurability with smart defaults. One minor issue, not enough to subtract a point, is I do not seem to be able to change the shape of the arrows.
4. maj, 2026 1 svar
In my experimentation, this does what it says and is easy to use, except the responsive aspect of the slider is very vulnerable to flex box issues. In my case using a theme based on _s, had to add: .entry-content {min-width: 0;width:100%;}
1. maj, 2026 1 svar
I wonder how WordPress decides which sliders to recommend when I enter “slider” in the block selection menu, and why it can’t detect that my theme is FSE and only offer Gutenberg-friendly sliders, and why this one isn’t at the top of the list!
6. september, 2025
Thank you for a great little plugin. It handles slides really well and the block settings are intuitive and allows for a lot of style variations and layouts. I have a few ideas on how to further improve it. Is is on GitHub? I’d like to do a PR to contribute some code. Some ideas for improvement: – allow the slides to pause on mouse hover over the arrows or pagination dots. – enable custom navigation by allowing a custom element with the right css to listen for click events.
16. juli, 2025
This slider operates as a block inserted on a page/post. It them accepts other Gutenberg blocks, (text, image, header, etc.) as content for the slider. All controls for the slider are on the block itself. Save as a pattern to repeat the configured slider on other pages.This is a very simple yet flexible plugin. Highly recommended
Læs alle 53 anmeldelser

Bidragsydere & udviklere

“Carousel Slider Block for Gutenberg” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

“Carousel Slider Block for Gutenberg” er blevet oversat til 12 sprog. Tak til oversætterne for deres bidrag.

Oversæt “Carousel Slider Block for Gutenberg” til dit eget sprog.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.

Ændringslog

2.1.4

2.1.3

2.1.2

2.1.1

2.1.0

2.0.10

2.0.9

2.0.8

2.0.7

2.0.6

Additional CSS variables

2.0.5

Fix block insert

2.0.4

2.0.3

Removed block.json from legacy blocks

2.0.2

2.0.1

2.0.0

1.0.16

Fix slider init.

1.0.15

Button block appender fix.

1.0.14

Update CSS for image block centering.

1.0.13

Reverted Slick init to working solution – outside the WP block build process.

1.0.12

Added tag dependency.

1.0.11

Fixed layout issue in rows.
Code refactoring.

1.0.10

Fixed lodash error with latest WordPress 6.4 update.

1.0.9

Fixed error message on Widget Editor screen. Tested on WordPress 6.3.1.

1.0.8

Small CSS improvements in the editor. Updated slick CSS stylesheet handle. Tested on WordPress 6.0.

1.0.7

Added responsive setting for slides to scroll at a time.

1.0.6

Elimineret CSS-problem med blokmargin i slide
Ændret stilen på knappen “Tilføj Slide”.

1.0.5

Tilføjet block.json. Forbedret layout af karruselblok i editoren. Opdateret ikon for slideblok. Testet til WordPress 5.9.

1.0.4

Forbedret brugergrænsefladeoplevelse ved at bruge kontrolelementer i indre blokke. Tilføjet HMV mulighed. Fjernede mulighed for indre margin. Opdateret siden slide-ikon.

1.0.3

Tilføjet indstillinger for Automatisk afspilning.

1.0.2

Opdateringer til den seneste WP Gutenberg-version. Rettet editor CSS.

1.0.1

Lodash-problem rettet.

1.0.0

Første udgave af plugin’et.

Meta

Bedømmelser

4.8 ud af 5 stjerner.

Bidragsydere

Support

Problemerne er løst inden for de sidste to måneder:

7 ud af 9

Vis supportforum

Donér

Vil du gerne støtte udviklingen af dette plugin?

Donér til dette plugin