WP Manifestindependent plugin directory
manifest / editor / carousel-gallery-block

Carousel Gallery Block

左右から自動でカルーセルするギャラリーブロック

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/hamworks/carousel-gallery-block/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Overview

Key Features

Requirements

  • WordPress: 6.8 or higher
  • PHP: 7.4 or higher

Installation

Development Installation

# Navigate to plugins directory
cd /path/to/wordpress/wp-content/plugins/

# Clone repository
git clone git@github.com:hamworks/carousel-gallery-block.git

# Install dependencies
cd carousel-gallery-block
npm install

# Build assets
npm run build

Usage

Basic Usage

Detailed Instructions

Technical Specifications

Architecture

  • Frontend: TypeScript + React (WordPress Gutenberg components)
  • Backend: PHP 7.4+ (WordPress Plugin API)
  • Build Tools: @wordpress/scripts (webpack + Babel)
  • CSS Implementation: CSS object-position property + media queries

File Structure

Developer Information

Development Environment Setup

Quick Start

# Clone repository
git clone git@github.com:hamworks/carousel-gallery-block.git
cd carousel-gallery-block

# Install dependencies
npm install
composer install

# Start development server
npm run start

# Setup WordPress environment (using wp-env)
npm run env start

Available Scripts

# Development build (watch mode)
npm run start

# Production build
npm run build

# Code formatting
npm run format

# Run linter
npm run lint

# Run tests
npm run test           # Jest unit tests
npm run test:php       # PHPUnit
npm run test:e2e       # Playwright E2E tests

# Type checking
npm run type-check

# Create plugin ZIP
npm run plugin-zip

Testing

Contributing

Coding Standards

Extensibility

Current Implementation

Future Extension Points

FAQ

Changelog

License

This plugin is released under the GPL v2 or later license.