Linux 软件免费装
Banner图

Any Block Carousel Slider

开发者 weblazer
更新时间 2026年9月17日 18:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

slider woocommerce gutenberg carousel query-loop

下载

1.0.1 1.0.3.5 1.0.5.4 2.1.0 2.1.1 2.2.0 1.0.2 1.0.3 1.0.3.1 1.0.3.2 1.0.3.3 1.0.3.4 1.0.3.6 1.0.4 1.0.4.1 1.0.4.2 1.0.4.3 1.0.4.4 1.0.5 1.0.5.1 1.0.5.2 1.0.5.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4

详情介绍:

Any Block Carousel Slider is a Gutenberg carousel slider block plugin that instantly converts supported native WordPress blocks (Query Loop/Post Template, Group, Gallery) into a responsive carousel slider. Simply enable the "Carousel" toggle in the Gutenberg editor: your content stays 100% native, your DOM stays lightweight, and your Lighthouse performance scores remain intact. This includes WooCommerce product listings rendered via the Query Loop/Post Template block, so you can showcase products without relying on the legacy Products block.

安装:

Automatic installation
  1. Go to "Plugins" → "Add New".
  2. Search for Any Block Carousel Slider.
  3. Click "Install Now" then "Activate".
Manual installation
  1. Download the plugin archive.
  2. Upload the folder to /wp-content/plugins/.
  3. Activate it from the "Plugins" menu.
Usage
  1. Open a page, post, or template in the Gutenberg editor.
  2. Select a supported block (Gallery, Group, or Query Loop/Post Template).
  3. Enable the Carousel button in the block settings.
  4. Adjust your columns, minimum width, or spacing.
  5. Publish or update: the carousel slider is operational.

屏幕截图:

  • Cover blocks carousel slider with full-width background images.
  • Query Loop / Post Template carousel slider rendered with 100% CSS.
  • Group block converted into a responsive carousel.
  • Native Gallery block displayed in carousel slider mode.

升级注意事项:

1.0.4 Recommended update: adds Loop and Autoplay features for enhanced carousel functionality. Loop enables infinite scrolling, and Autoplay provides automatic slide progression with configurable timing. 1.0.3 Recommended update: fixes dynamic arrow style updates in the editor and improves compatibility with Site Editor iframes. 1.0.2 Recommended update: manage arrow and marker visibility directly from the editor with consistent styling on both admin and frontend.

常见问题:

How does Any Block Carousel Slider differ from traditional carousel blocks?

Unlike traditional carousels that force you to insert a dedicated "Carousel" block and rebuild each slide by hand, Any Block Carousel Slider turns the Gutenberg blocks you already have (Query Loop/Post Template, Group, Gallery) into a slider via a simple toggle. With a Query Loop for instance, legacy solutions usually require limiting the loop to one post per slide and duplicating layouts. Here, one block is enough: single action, zero duplication, maximum performance.

Is it compatible with all themes (block themes, FSE)?

Yes. The Gutenberg carousel slider block plugin reads style variables generated by your theme (classic or full site editing) and applies the carousel slider without breaking the initial grid.

Does it require JavaScript on the frontend?

No heavy JavaScript libraries (like Swiper.js or Slick). The plugin uses native CSS scroll-snap for smooth layout and scrolling, accompanied by an extremely lightweight frontend script (~40KB raw source, <15KB minified/gzipped) to manage navigation arrows, pagination dots, autoplay, and loop behaviors.

How do I transform a Query Loop into a carousel?

Enable the Query Loop Gutenberg block (or Post Template), configure your filters and rendering, then check Carousel. For Post Template blocks, switch the layout to Grid so you can control the number of cards displayed per viewport. Posts are automatically aligned on a scrollable line with snap and CSS arrows. This is the main advantage over traditional carousel slider plugins that don't support Query Loops natively.

Can I mix images, titles, buttons, and forms in the same carousel?

Yes. The plugin respects existing inner Gutenberg blocks. A Group block containing image, text, buttons, or forms is transformed as-is in carousel mode.

How do I control the number of visible columns?

Switch the block layout to Grid in the Gutenberg sidebar (Layout panel) and set the desired column count for each breakpoint. The carousel inherits the same grid settings, so adjusting the Grid controls is the recommended way to decide how many slides remain visible.

WooCommerce compatible?

Yes, when your products are rendered via the Query Loop/Post Template block (for example by querying the product post type or a WooCommerce pattern). A dedicated integration for the legacy Products block remains on the roadmap, but today you can already build product sliders by using the Query Loop to target WooCommerce content.

Is there an autoplay mode, infinite loop, or custom arrows?

Yes! The plugin includes built-in infinite looping (Loop mode) and automatic slide progression (Autoplay with configurable delay) controllable directly from the Gutenberg block settings. You can also customize, show, or hide navigation arrows and pagination markers independently.

Can I have multiple carousels on the same page?

Yes, without limit. Each Gutenberg block manages its own CSS variables for the carousel slider.

How do I adjust buttons or position markers?

In your theme or via a CSS snippets plugin, override the variables: css .wp-block-group.is-carousel { --carousel-button-bg: var(--wp--preset--color--primary); --carousel-marker-size: 0.8rem; } If the navigation buttons look offset or partially hidden, wrap the carousel-enabled block inside a parent Group (or another container block) so the wrapper can provide the proper padding and overflow context for the controls.

Is it compatible with all browsers?

Yes! Navigation buttons, pagination dots, and scroll behavior all use standard HTML and CSS supported by every modern browser (Chrome, Firefox, Safari, Edge). The plugin uses native scroll-snap for smooth scrolling and lightweight JavaScript for interactive navigation controls.

更新日志:

2.2.0 - 2026-09-17 2.1.1 - 2026-08-25 2.1.0 - 2026-06-16 2.0.4 - 2026-06-12 2.0.3 - 2026-06-05 2.0.2 - 2026-06-04 2.0.1 - 2026-06-03 2.0.0 - 2026-05-22 1.0.5.4 - 2026-04-16 1.0.5.3 - 2026-03-11 1.0.5.2 - 2026-03-11 1.0.5.1 - 2026-03-11 1.0.5 - 2026-03-11 1.0.4.4 - 2026-03-05 1.0.3.5 - 2025-11-14 1.0.3.4 - 2025-11-14 1.0.3.3 - 2025-11-13 1.0.4.3 - 2026-02-08 1.0.4.2 - 2026-02-08 1.0.4.1 - 2025-01-XX 1.0.4 - 2025-01-XX 1.0.3.2 - 2025-11-13 1.0.3.1 - 2025-11-13 1.0.3 - 2025-11-13 1.0.2 - 2025-11-13 1.0.1 - 2025-01-24 1.0.0 - 2025-01-10