Carousel Slider Block for Gutenberg

外掛說明

可供區塊編輯器使用、用於新增投影片的回應式設計輪轉式顯示投影片輪播區塊。

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 個可供 Gutenberg/區塊編輯器使用的區塊。

  • 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 年 5 月 18 日 1 則留言
I haven’t paid the vendor any money to use this simple and easy to use block. I din’t install their site builder, just the block. And it seems to work straight out of the box. I say seems to, because I haven’t used it enough yet. But early indications are; that this is truly free and functional native block.
2024 年 4 月 28 日
This is a great plugin and exactly what I was looking for, however, I have to agree with the other reviewer that talks about how the styles conflict with Kadence. Right now it seems to be just the arrow styles (like .slick-next:before, .slick-prev:before). You can see the arrow styles being overridden by this plugin when added to a page that is also using the Gallery block (in carousel mode) by Kadence Blocks. I am also disappointed there is not at least one more breakpoint. Hopefully this will be added in the future.
2024 年 4 月 27 日
Fantastic plugin that adds enormous versatility to my website. It’s simple and easy to use while giving me a huge range of ways to customize my sliders/carousels. Thanks, Virgiliu!
2024 年 4 月 17 日
Great work on a neat, easy to use plugin. Works well. I’d like to see future versions include options to set the padding between slides with your settings. Also the option to position the nav dots and the arrows. I am currently using CSS to override your defaults (eg put nav dots over the slider instead of under).
2024 年 4 月 6 日 1 則留言
I just installed this plugin for a simple solution to be able to add any type of block into a slider. It’s a very needed feature and really should be a default block in Gutenberg IMO. My compliments to the author on recognizing this need. Unfortunately I found two frustrating issues: Issue 1: If you’re already using other types of sliders that rely upon slick.js, there will be css conflicts. This plugin adds a lot of css directly to the slick selectors (ex. .slick-next). The problem is that this will conflict with any other slider using slick.js by overriding its styles. What has to happen here is that the css for this particular slider needs to be limited solely to this block. I hope that the plugin author reads this and makes the change. The main benefit of the plugin is its simplicity. But this issue with the css is an oversight that should be corrected. Issue 2: I’ve also discovered that this block will not function properly within a default Gutenberg row block or a Kadence Blocks row/section block combination. This is major drawback since using rows/sections is a basic part of using a block editor. I’m using Kadence Blocks and rely upon its row and section blocks for overall design structure. Putting the above issues aside, this is still a very useful block and I hope the author will address these issues I’ve identified.
2024 年 3 月 18 日
In a future update, I would love to see a SlidesToShow option with decimal intervals allowed. Any way you can make that happen or a workaround to make it work on my site? Thank you for a great plugin!
閱讀全部 35 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Carousel Slider Block for Gutenberg〉的開發相關工作。

參與者

〈Carousel Slider Block for Gutenberg〉外掛目前已有 9 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈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.