Carousel Slider Block for Gutenberg

描述

A responsive carousel slider for the Gutenberg editor that supports adding any blocks to slides.

Features

  • Add unlimited slides
  • Add any blocks to the slides
  • Preview the carousel in the editor
  • Responsive and touch enabled

Settings

  • Slides per view
  • Slides to scroll at a time
  • Slide speed
  • Slide padding
  • Prev/next arrows
  • Dots navigation
  • Infinite loop sliding
  • Autoplay
  • Responsive settings: slides to show and scroll at given screen size
  • RTL

Requirements

PHP 5.6+ is recommended, WordPress 5.8+, with Gutenberg active.

Documentation

Select the Carousel Slider block from the Design category. Click the + button located at the end of the carousel to add slides. Add any block within the slides. Use the horizontal scrollbar to preview the slides in the editor.

You can reorder the slides by using the left and right arrow buttons in the toolbar.

To remove a slide, select the slide and click the three dots right above it. Click the option to remove that slide.

Click the Carousel Block (the block nesting all the slides) to show the carousel settings.

屏幕截图

  • Carousel slider
  • Add any blocks to the carousel slides
  • Carousel settings

区块

该插件提供了 2 个区块.

  • Carousel Slider Display a carousel with any blocks in the slides.
  • Slide A single slide within the carousel.

安装

  1. From your WordPress dashboard go to Plugins > Add New.
  2. Search for Carousel Slider Block in the Search Plugins box.
  3. Click Install Now to install the Carousel Slider Block Plugin.
  4. Click Activate to activate the plugin.
  5. Carousel Slider Block will be added to the Design block group in the editor.

If you still need help. visit WordPress codex

常见问题

What is Gutenberg?

Gutenberg is the name of the new block based editor introduced in WordPress 5. Gutenberg makes it easy to create content within the editor using blocks.

How do I add a carousel to WordPress?

Select the Carousel Slider block from the Design category.

How do I add a slide to WordPress?

Select the Carousel Slider block. Click the plus button to add slides to the carousel.

评价

2024 年 11 月 4 日 1 回复
Updater beware. 1.0.15 totally broke my slider layout. They just all load vertically on top of each other now. Trying to diagnose/revert, but worth knowing in case it happens to you also. Update: Excellent customer service. Plugin has been fixed. Thank you.
2024 年 11 月 3 日 5 回复
Basic Gutenberg block that lets you manually assemble other Gutenberg blocks into a slider. There is a minor technical issue. I only see one of the two next/prev arrows, and that arrow overflows the page width by default when no padding or margin is applied to the slider. The plugin is limited in scope to only allow creating slides manually. That mirrors the scope of the built-in suite of Gutenberg blocks nicely, but one dynamic feature I think would be appropriate is to load a configurable number of blog posts dynamically, optionally with filters applied. The plugin author has been very quick to update the plugin, so this review may be outdated by the time you read it.
2024 年 10 月 25 日
It is missing several basic Slick settings, though, like fade, centerMode, adaptiveHeight, variableWidth…
阅读所有42条评价

贡献者及开发者

「Carousel Slider Block for Gutenberg」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Carousel Slider Block for Gutenberg」插件已被翻译至 11 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Carousel Slider Block for Gutenberg」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

First release of the plugin.

1.0.1

Fixed lodash issue.

1.0.2

Updates for latest WP Gutenberg version. Fixed editor CSS.

1.0.3

Added autoplay settings.

1.0.4

Improved UI experience by using inner blocks controls. Added RTL option. Removed padding option. Updated slide block icon.

1.0.5

Added block.json. Improved carousel block layout in the editor. Updated slide block icon. Tested for WordPress 5.9.

1.0.6

Eliminated block margin CSS issue in slides.
Changed the style of the “Add slide” button.

1.0.7

Added responsive setting for slides to scroll at a time.

1.0.8

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

1.0.9

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

1.0.10

Fixed lodash error with latest WordPress 6.4 update.

1.0.11

Fixed layout issue in rows.
Code refactoring.

1.0.12

Added tag dependency.

1.0.13

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

1.0.14

Update CSS for image block centering.

1.0.15

Button block appender fix.

1.0.16

Fix slider init.