Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
b9702e2
refactor: update changelog script to use npx and remove conventional-…
theMasudRana Feb 20, 2026
ec94099
chore: update CHANGELOG for version 1.0.1 with bug fixes and new feat…
theMasudRana Feb 20, 2026
deaef43
chore: remove unused dependency scrivo/highlight.php from composer files
theMasudRana Feb 24, 2026
2760527
feat: add .distignore file to exclude unnecessary files from WordPres…
theMasudRana Feb 24, 2026
2268cb8
feat: add localization support and update package.json for repository…
theMasudRana Feb 24, 2026
e8cdd4a
feat: add readme.txt with plugin details and installation instructions
theMasudRana Feb 24, 2026
4e5fe9f
feat: update license and version in carousel-kit.php; add index.php f…
theMasudRana Feb 24, 2026
c3826fc
feat: add screenshot for plugin preview in WordPress.org
theMasudRana Feb 24, 2026
c4e35cd
feat: update .distignore to refine exclusions for WordPress.org distr…
theMasudRana Feb 24, 2026
11ae3a9
Merge branch 'develop' of https://github.com/rtCamp/carousel-kit into…
theMasudRana Feb 25, 2026
818d69c
fix(styles): remove unnecessary grid-template-columns property
theMasudRana Feb 26, 2026
e69596a
refactor(styles): improve transition effects and clean up unused prop…
theMasudRana Feb 26, 2026
1149c55
fix: CSS linting issues
theMasudRana Feb 26, 2026
9874909
Merge branch 'develop' of https://github.com/rtCamp/carousel-kit into…
theMasudRana Feb 26, 2026
6c1e473
refactor: Remove unrelated changes from current PR
theMasudRana Feb 26, 2026
d69e3f0
Merge pull request #67 from rtCamp/fix/non-applicable-css
theMasudRana Feb 26, 2026
8219d76
Merge pull request #46 from rtCamp/fix/dependabot-issues
theMasudRana Feb 26, 2026
1086467
Merge pull request #68 from rtCamp/fix/css-refactor
theMasudRana Feb 26, 2026
712f3b4
Merge branch 'develop' of https://github.com/rtCamp/carousel-kit into…
theMasudRana Mar 2, 2026
bdd4b52
feat: add placeholder logos and update hero carousel pattern
theMasudRana Mar 2, 2026
e5ee596
feat: update .distignore to exclude README.md and enhance carousel-ki…
theMasudRana Mar 2, 2026
cd5e061
feat: Updated pot file
theMasudRana Mar 2, 2026
e32acaf
feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and ad…
theMasudRana Mar 3, 2026
acd5906
chore: format package.json for consistency in spacing
theMasudRana Mar 3, 2026
bd25e48
chore: remove upgrade notice section from readme.txt
theMasudRana Mar 3, 2026
49ac3b2
chore: remove version field from package.json
theMasudRana Mar 3, 2026
3a52e05
feat: update PHP requirement to 8.2 and reorder contributors in plugi…
theMasudRana Mar 3, 2026
3deb4aa
chore: remove version field from package-lock.json
theMasudRana Mar 3, 2026
65a5190
docs: add link to full changelog in readme.txt
theMasudRana Mar 3, 2026
fceb313
chore: remove version field from package-lock.json
theMasudRana Mar 3, 2026
4077c28
fix: update file paths in phpcs and phpstan configuration
theMasudRana Mar 3, 2026
a0a1b45
feat: implement autoloader for PHP classes and refactor constant defi…
theMasudRana Mar 3, 2026
02d49a7
fix: ignore phpcs warning for including pattern file from a fixed dir…
theMasudRana Mar 3, 2026
9c73548
fix: update script paths in composer.json and improve constant defini…
theMasudRana Mar 3, 2026
3bdc9e0
fix: update POT-Creation-Date and add missing autoloader error message
theMasudRana Mar 3, 2026
08e51fd
chore: update @wordpress/scripts to version 31.5.0
theMasudRana Mar 3, 2026
e1b9e23
feat: add new screenshot image and remove outdated PNG file
theMasudRana Mar 3, 2026
353646b
fix: clean up .distignore by removing unnecessary files and directories
theMasudRana Mar 3, 2026
7ffdd9a
fix: remove outdated screenshots description from readme
theMasudRana Mar 3, 2026
71381db
fix: update dist target to exclude additional configuration and devel…
theMasudRana Mar 4, 2026
d33bf17
fix: ensure direct access to Autoloader.php exits gracefully
theMasudRana Mar 4, 2026
6a05ac9
fix: update package dependencies for minimatch and serialize-javascript
theMasudRana Mar 4, 2026
46f0f7a
fix: update script paths in composer.json to use local binaries
theMasudRana Mar 5, 2026
22cb27c
feat: update README with minimum requirements and add uninstall funct…
theMasudRana Mar 5, 2026
320a3ec
fix: update WordPress minimum requirement to 6.6 in README, INSTALLAT…
theMasudRana Mar 5, 2026
295b2b3
fix: update contributors list in plugin header and readme.txt
theMasudRana Mar 5, 2026
c9e877d
fix: update package-lock.json to remove unused dependency and upgrade…
theMasudRana Mar 5, 2026
6a23832
fix: update tested up to version in readme.txt from 6.9.1 to 6.9
theMasudRana Mar 6, 2026
1eea8d8
fix: correct release link in INSTALLATION.md and update node_modules …
theMasudRana Mar 6, 2026
03ce762
fix: update @wordpress/scripts version to allow minor updates
theMasudRana Mar 6, 2026
a57d369
Merge pull request #57 from rtCamp/feat/prepair-for-wp-org
theMasudRana Mar 6, 2026
057d1ae
chore(release): Prepare v1.0.4 release (#76)
theMasudRana Mar 10, 2026
13a040b
Fix: Wide Alignment + Block Tree Selection (#70)
theMasudRana Mar 12, 2026
378e4ee
fix: add direct access protection to example pattern files (#84)
theMasudRana Mar 12, 2026
aebfdeb
feat: add new asset images and replace old screenshot (#86)
theMasudRana Mar 16, 2026
7b1804c
build(deps-dev): bump basic-ftp from 5.1.0 to 5.2.0 (#64)
dependabot[bot] Mar 19, 2026
d8b7e89
build(deps): bump flatted from 3.3.3 to 3.4.2 (#91)
dependabot[bot] Mar 19, 2026
bc9978e
Add Issue and PR templates. (#81)
deepaklalwani97 Mar 24, 2026
71de050
fix: add initialized state to CarouselContext to track carousel initi…
mi5t4n Mar 26, 2026
f73890e
Support Vertical Alignment on Carousel Slide (#89)
bhubbard Mar 26, 2026
3cbb280
build(deps): bump picomatch (#94)
dependabot[bot] Mar 26, 2026
977a1fe
build(deps): bump yaml from 1.10.2 to 1.10.3 (#96)
dependabot[bot] Mar 26, 2026
a1308c6
fix: exclude composer.json and composer.lock from distribution packag…
theMasudRana Mar 30, 2026
d4c07a7
build(deps-dev): bump lodash-es from 4.17.23 to 4.18.1 (#102)
dependabot[bot] Apr 2, 2026
d0fa559
build(deps-dev): bump lodash from 4.17.23 to 4.18.1 (#105)
dependabot[bot] Apr 2, 2026
dec79c8
Fix[Controls]: Block Toolbar persists when selected block moves out o…
yogeshbhutkar Apr 7, 2026
dcccaf7
feat: add wp-env configuration for WP development setup (#109)
yogeshbhutkar Apr 7, 2026
9788ed7
[Refactor]: Rename plugin name from Carousel Kit to rtCarousel (#101)
theMasudRana Apr 8, 2026
1d16ee6
fix: restore vertical scroll for Query Loop carousel (#104)
Sukhendu2002 Apr 8, 2026
edc8699
Add support for the progress bar. (#90)
bhubbard Apr 8, 2026
93c8a48
build(deps-dev): bump basic-ftp from 5.2.0 to 5.2.1 (#111)
dependabot[bot] Apr 9, 2026
4c74f8b
build(deps-dev): bump basic-ftp from 5.2.1 to 5.2.2 (#112)
dependabot[bot] Apr 12, 2026
cda5bc3
[Chore]: Preparation for 1.1.0 version release (#110)
theMasudRana Apr 13, 2026
85bec2d
[Fix]: Merge conflicts with main v1.1.0 (#114)
theMasudRana Apr 13, 2026
a4cfaae
Release `v1.0.4` (#85) (#116)
theMasudRana Apr 13, 2026
43c64e3
chore: update version to 2.0.0 and prepare for release (#117)
theMasudRana Apr 13, 2026
e736d05
Sync `develop` with `main` to resolve conflicts (#119)
theMasudRana Apr 16, 2026
a765037
build(deps-dev): bump follow-redirects from 1.15.11 to 1.16.0 (#120)
dependabot[bot] Apr 16, 2026
592bde2
Merge branch 'main' into fix/reconcile-history-with-main
danish17 Apr 16, 2026
488fc74
Merge pull request #122 from rtCamp/fix/reconcile-history-with-main
danish17 Apr 16, 2026
04dde30
[Release]: Publish new version 2.0.0 by merging develop into main (#1…
theMasudRana May 4, 2026
279a464
Fix: Replace automatic plugin deactivation with admin notice (#129)
theMasudRana May 4, 2026
366031e
Fix carousel dot focus loss with VoiceOver activation (#127)
deepakpra May 4, 2026
b7a2240
Add a11y announcements for carousel slide changes (#125)
deepakpra May 4, 2026
9fd863d
[Release]: Prepare release for 2.0.1 (#130)
theMasudRana May 4, 2026
bd40f00
Merge branch 'main' into develop
danish17 May 7, 2026
242275c
Merge pull request #134 from rtCamp/fix/reconcile-history-main
danish17 May 7, 2026
98ddd50
build(deps-dev): bump ip-address from 10.1.0 to 10.2.0 (#135)
dependabot[bot] May 7, 2026
0093274
build(deps): bump postcss from 8.5.6 to 8.5.13 (#132)
dependabot[bot] May 7, 2026
6073e39
build(deps-dev): bump axios from 1.15.0 to 1.16.0 (#136)
dependabot[bot] May 7, 2026
4762978
build(deps): bump fast-uri from 3.1.0 to 3.1.2 (#137)
dependabot[bot] May 11, 2026
dd90468
feat: Add slide template picker and templates for carousel block (#83)
deepaklalwani97 May 11, 2026
b0cf807
feat: Terms Query support for the carousel block (#131)
theMasudRana May 14, 2026
49fd86b
feat: Accessible Carousel Counter block (#139)
theMasudRana May 29, 2026
f3e68e3
Merge branch 'main' into fix/reconcile-history-main
imrraaj Jun 1, 2026
b1373af
Merge pull request #148 from rtCamp/fix/reconcile-history-main
imrraaj Jun 2, 2026
f05a4e7
Merge pull request #151 from rtCamp/chore/reconcile-history-main
imrraaj Jun 5, 2026
676611c
chore: prepare for release 2.0.2 (#153)
imrraaj Jun 8, 2026
31f43a7
chore: Fix coverage ignores, JS coverage, and release POT metadata (#…
imrraaj Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
**/node_modules/**
**/vendor/**
**/build/**
**/coverage/**
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ phpstan.neon
# Test output
/tests/_output/*
!/tests/_output/.gitkeep
coverage/

# OS files
[Tt]humbs.db
Expand Down
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Ignore build and dependency directories
/build
/coverage
/node_modules
/tests
/vendor
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [2.0.2](https://github.com/rtCamp/rt-carousel/compare/2.0.1...2.0.2) (2026-06-08)


### Features

* add accessible Carousel Counter block ([#139](https://github.com/rtCamp/rt-carousel/pull/139)) ([49fd86b](https://github.com/rtCamp/rt-carousel/commit/49fd86b))
* add slide template picker and starter templates for carousel block ([#83](https://github.com/rtCamp/rt-carousel/pull/83)) ([dd90468](https://github.com/rtCamp/rt-carousel/commit/dd90468))
* add Terms Query support and Terms Query carousel pattern ([#131](https://github.com/rtCamp/rt-carousel/pull/131)) ([b0cf807](https://github.com/rtCamp/rt-carousel/commit/b0cf807))


### Maintenance

* confirm compatibility with WordPress 7.0
* update axios from 1.15.0 to 1.16.0 ([#136](https://github.com/rtCamp/rt-carousel/pull/136)) ([6073e39](https://github.com/rtCamp/rt-carousel/commit/6073e39))
* update fast-uri from 3.1.0 to 3.1.2 ([#137](https://github.com/rtCamp/rt-carousel/pull/137)) ([4762978](https://github.com/rtCamp/rt-carousel/commit/4762978))
* update ip-address from 10.1.0 to 10.2.0 ([#135](https://github.com/rtCamp/rt-carousel/pull/135)) ([98ddd50](https://github.com/rtCamp/rt-carousel/commit/98ddd50))
* update postcss from 8.5.6 to 8.5.13 ([#132](https://github.com/rtCamp/rt-carousel/pull/132)) ([0093274](https://github.com/rtCamp/rt-carousel/commit/0093274))


## [2.0.1](https://github.com/rtCamp/rt-carousel/compare/v2.0.0...v2.0.1) (2026-05-04)


Expand Down
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# rtCarousel

![rtCarousel banner](wp-assets/banner-1544x500.png)

![Build Status](https://github.com/rtCamp/rt-carousel/actions/workflows/release.yml/badge.svg?branch=main)
![Latest Release](https://img.shields.io/github/v/release/rtCamp/rt-carousel)
![WordPress Plugin Version](https://img.shields.io/wordpress/plugin/v/rt-carousel)

**A modular, high-performance carousel block for WordPress, powered by the Interactivity API and Embla Carousel.**

[View on WordPress.org](https://wordpress.org/plugins/rt-carousel/)

Easily create dynamic, accessible, and customizable carousels for any content type—posts, testimonials, images, and more. Designed for speed, flexibility, and seamless integration with the WordPress block editor.

## Features

- **Flexible Compound Block Architecture**: Mix and match any blocks inside the carousel.
- **High Performance**: Viewport & Slide Engine powered by Embla Carousel.
- **Interactivity API**: Reactive state management with `data-wp-interactive`.
- **Dynamic Content**: Full support for WordPress **Query Loop** block.
- **Dynamic Content**: Full support for WordPress **Query Loop** and **Terms Query** blocks.
- **Accessibility**: W3C-compliant roles, labels, and keyboard navigation.
- **RTL Support**: Built-in support for Right-to-Left languages.

Expand All @@ -29,7 +34,7 @@ Easily create dynamic, accessible, and customizable carousels for any content ty

| Requirement | Minimum | Recommended |
| ----------- | ------------ | ----------- |
| WordPress | 6.6+ | 6.9+ |
| WordPress | 6.6+ | 7.0+ |
| PHP | 8.2+ | 8.2+ |
| Gutenberg | Not required | — |

Expand Down Expand Up @@ -68,9 +73,15 @@ Yes! rtCarousel is fully compatible with Full Site Editing. You can use the caro

Absolutely. Each slide is a container that accepts any WordPress block—images, paragraphs, groups, columns, and even other third-party blocks.

### Does it support the Query Loop block?
### How do I add content to an empty Carousel Viewport?

Use **Add Slide** for static/manual slides, **Add Query Loop** for dynamic post slides, or **Add Terms Query** for dynamic taxonomy term slides.

### Does it support the Query Loop and Terms Query blocks?

Yes. Add a Query Loop or Terms Query block inside the Carousel Viewport, and each post or term becomes a slide automatically. You can also start from the bundled Query Loop Carousel or Terms Query Carousel patterns.

Yes. Simply add a Query Loop block inside the Carousel Viewport, and each post in the loop becomes a slide automatically. No special configuration needed.
Do not place Query Loop or Terms Query inside a Carousel Slide block. Their generated posts or terms are used as the carousel slides automatically; Carousel Slide is intended for static or manually created slide content.

### Is it accessible?

Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 48 additions & 1 deletion docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ To create a specialized carousel (e.g., testimonials only), set the `allowedSlid

---

## Adding Content to an Empty Viewport

When the **Carousel Viewport** is empty, rtCarousel shows three insertion actions:

| Action | Use When |
| :--- | :--- |
| **Add Slide** | You want static or manually created slide content. |
| **Add Query Loop** | You want dynamic post, page, product, or custom post type slides. |
| **Add Terms Query** | You want dynamic category, tag, or custom taxonomy term slides. |

Use **Add Query Loop** or **Add Terms Query** for dynamic content so the generated posts or terms become the carousel slides automatically. Use **Add Slide** only for static/manual slides.

---

## Using Query Loop with Carousel

You can create dynamic post sliders or content carousels using the WordPress Query Loop block.
Expand All @@ -55,12 +69,45 @@ You can create dynamic post sliders or content carousels using the WordPress Que
4. Configure your query (post type, category, order, etc). **Disable** "Inherit query from template" if using on single posts/pages to avoid loop conflicts.
5. Design your slide inside the Query Loop's **Post Template**.

**Note:** Each post generated by the Query Loop becomes an individual slide. The system automatically detects `.wp-block-post-template` and forces horizontal flex row display. The `slideGap` attribute controls spacing.
**Important:** Do not wrap Query Loop in a Carousel Slide block. Each post generated by the Query Loop becomes an individual carousel slide, so the Query Loop block must be placed directly inside the Carousel Viewport. The Carousel Slide block is for static or manually created slides.

**Note:** The system automatically detects `.wp-block-post-template` and forces horizontal flex row display. The `slideGap` attribute controls spacing.

You can also start from the bundled **rtCarousel: Query Loop Carousel** pattern.

---

## Using Terms Query with Carousel

You can create dynamic taxonomy sliders using the WordPress Terms Query block (`core/terms-query`). This supports categories, tags, and custom taxonomies.

### Setup Steps
1. Add the **Carousel** block to your page.
2. Select the inner **Carousel Viewport** block.
3. Insert a **Terms Query** block directly inside the Viewport, not inside a Carousel Slide.
4. Configure the taxonomy, order, visibility, and included terms in the Terms Query settings.
5. Design your slide inside the Terms Query's **Term Template**.

**Important:** Do not wrap Terms Query in a Carousel Slide block. Each term generated by the Terms Query becomes an individual carousel slide, so the Terms Query block must be placed directly inside the Carousel Viewport. The Carousel Slide block is for static or manually created slides.

**Note:** The system automatically detects `.wp-block-term-template` and applies the same carousel layout behavior used for Query Loop. The `slideGap` attribute controls spacing.

You can also start from the bundled **rtCarousel: Terms Query Carousel** pattern.

### Block Selection Guide

| Use Case | Recommended Block |
| :--- | :--- |
| Dynamic Content (Posts, Pages, Products, Custom Post Types) | Query Loop (`core/query`) |
| Dynamic Taxonomy Content (Categories, Tags, Custom Taxonomies) | Terms Query (`core/terms-query`) |
| Static Content (Hero Slider, Logo Showcase, Manual Testimonials) | Carousel Slide (`rt-carousel/carousel-slide`) |
| Mixed Content (Slide 1 is a Video, Slide 2 is Text) | Carousel Slide (`rt-carousel/carousel-slide`) |

### Terms Query Selection Guide

| Taxonomy Use Case | Recommended Setup |
| :--- | :--- |
| All categories | Terms Query (`core/terms-query`) with `taxonomy: category` |
| All tags | Terms Query (`core/terms-query`) with `taxonomy: post_tag` |
| Custom taxonomy terms | Terms Query (`core/terms-query`) with your taxonomy slug |
| Hand-picked static term cards | Carousel Slide (`rt-carousel/carousel-slide`) |
46 changes: 46 additions & 0 deletions examples/patterns/terms-query.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
* Title: rtCarousel: Terms Query Carousel
* Slug: rt-carousel/terms-query-carousel
* Categories: rt-carousel
* Description: A carousel block containing a Terms Query displaying taxonomy terms (categories, tags, custom taxonomies) as slides.
*/

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>

<!-- wp:rt-carousel/carousel {"ariaLabel":"rtCarousel: Terms Query Carousel","slideGap":16,"metadata":{"name":"rtCarousel: Terms Query Carousel","categories":["rt-carousel"],"patternName":"rt-carousel/terms-query-carousel"},"align":"wide","className":"wp-block-carousel-carousel is-style-columns-3"} -->
<div class="wp-block-rt-carousel-carousel alignwide rt-carousel wp-block-carousel-carousel is-style-columns-3" role="region" aria-roledescription="carousel" aria-label="rtCarousel: Terms Query Carousel" dir="ltr" data-axis="x" data-wp-interactive="rt-carousel/carousel" data-wp-context="{&quot;options&quot;:{&quot;loop&quot;:false,&quot;dragFree&quot;:false,&quot;align&quot;:&quot;start&quot;,&quot;containScroll&quot;:&quot;trimSnaps&quot;,&quot;direction&quot;:&quot;ltr&quot;,&quot;axis&quot;:&quot;x&quot;,&quot;slidesToScroll&quot;:1},&quot;autoplay&quot;:false,&quot;isPlaying&quot;:false,&quot;timerIterationId&quot;:0,&quot;selectedIndex&quot;:-1,&quot;scrollSnaps&quot;:[],&quot;canScrollPrev&quot;:false,&quot;canScrollNext&quot;:false,&quot;scrollProgress&quot;:0,&quot;slideCount&quot;:0,&quot;ariaLabelPattern&quot;:&quot;Go to slide %d&quot;}" data-wp-init="callbacks.initCarousel" style="--rt-carousel-gap:16px"><!-- wp:rt-carousel/carousel-viewport {"className":"wp-block-carousel-carousel-viewport"} -->
<div class="wp-block-rt-carousel-carousel-viewport embla wp-block-carousel-carousel-viewport">
<div class="embla__container"><!-- wp:terms-query {"termQuery":{"perPage":10,"taxonomy":"category","order":"asc","orderBy":"name","include":[],"hideEmpty":false,"showNested":false,"inherit":false}} -->
<div class="wp-block-terms-query"><!-- wp:term-template -->
<!-- wp:group {"className":"is-style-section-1","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}},"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}},"color":{"background":"#f6f6f6"}},"layout":{"inherit":false}} -->
<div class="wp-block-group is-style-section-1 has-background" style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;background-color:#f6f6f6;padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:term-name {"isLink":true,"fontSize":"x-large"} /-->

<!-- wp:term-description /-->

<!-- wp:term-count /-->
</div>
<!-- /wp:group -->
<!-- /wp:term-template -->
</div>
<!-- /wp:terms-query -->
</div>
</div>
<!-- /wp:rt-carousel/carousel-viewport -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:0"><!-- wp:rt-carousel/carousel-controls {"className":"wp-block-carousel-carousel-controls"} -->
<div class="wp-block-rt-carousel-carousel-controls rt-carousel-controls wp-block-carousel-carousel-controls"><button type="button" class="rt-carousel-controls__btn rt-carousel-controls__btn--prev" data-wp-on--click="actions.scrollPrev" data-wp-bind--disabled="!state.canScrollPrev" aria-label="Previous Slide"><svg class="rt-carousel-controls__icon" width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 3.55371L3.55371 7.10742V4.26562H12.7861V2.84375H3.55371V0L0 3.55371Z" fill="#1C1C1C"></path>
</svg></button><button type="button" class="rt-carousel-controls__btn rt-carousel-controls__btn--next" data-wp-on--click="actions.scrollNext" data-wp-bind--disabled="!state.canScrollNext" aria-label="Next Slide"><svg class="rt-carousel-controls__icon" width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.7861 3.55371L9.23242 7.10742V4.26562H0V2.84375H9.23242V0L12.7861 3.55371Z" fill="#1C1C1C"></path>
</svg></button></div>
<!-- /wp:rt-carousel/carousel-controls -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:rt-carousel/carousel -->
1 change: 1 addition & 0 deletions inc/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public function register_blocks(): void {
$blocks = [
'carousel',
'carousel/controls',
'carousel/counter',
'carousel/dots',
'carousel/progress',
'carousel/viewport',
Expand Down
Loading
Loading