Blockshifter

설명

Blockshifter is a growing toolbox of display modes for native Gutenberg blocks — no new block types, no leaving the block editor, no learning curve.

Pick a block you already use — Gallery, Group — flip a toggle in its Inspector, and its front-end output transforms. The block itself stays 100% native and editable; nothing about how you write content changes.

Think of Blockshifter as a shape-shifter for your blocks: same content underneath, a different shape on the front end. Today it shifts into a Carousel or a Masonry grid; tomorrow more shapes join the same toolbox, each just as simple to switch on.

Carousel, live today

A clean, minimalist carousel for Gallery and Group blocks, powered by Splide.js — lightweight, accessible, dependency-free. Arrows and pagination are styled to sit quietly on top of your content, in any color, on any background.

  • One toggle to turn a block into a carousel
  • Slides per page
  • Autoplay
  • Infinite loop
  • Fully responsive, keyboard and screen-reader friendly out of the box

Masonry, live today

A compact, variable-height masonry grid for Gallery and Group blocks, built with native CSS Grid — no third-party library. Every native Gutenberg setting stays in charge: Columns and Gap on Gallery, Gap on Group.

  • One toggle to turn a block into a masonry grid
  • Columns (Group only — Gallery keeps its own native Columns control)
  • Respects each block’s native Gap and responsive behavior
  • Degrades gracefully to a regular grid without JavaScript

More shapes are coming

Accordion and other display modes are on the roadmap. Every future module follows the exact same pattern you already know: pick a block, flip a toggle, done.

For developers

The list of blocks a module targets is filterable, so you can extend any module to other core blocks without forking the plugin — the filter name follows blockshifter/<module>/allowed_blocks:

add_filter( 'blockshifter/carousel/allowed_blocks', function( $blocks ) {
    $blocks[] = 'core/columns';
    return $blocks;
} );

add_filter( 'blockshifter/masonry/allowed_blocks', function( $blocks ) {
    $blocks[] = 'core/columns';
    return $blocks;
} );

Development

Source code, build tools and issue tracker: https://github.com/nighcrawl/Blockshifter

The src/ directory contains the human-readable, unminified source for everything shipped in build/. See the repository’s README for the build steps (composer install && npm install && npm run build).

스크린샷

설치

  1. Upload the plugin files to /wp-content/plugins/blockshifter, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Select a Gallery or Group block in the editor, open the Inspector, and enable the “Blockshifter Carousel” panel.

FAQ

Can I use this on blocks other than Gallery and Group?

Not out of the box yet, but developers can extend any module’s target blocks via its blockshifter/<module>/allowed_blocks filter — see the Description above.

Are other display modes (Accordion…) available?

Not yet — the current release ships with the Carousel and Masonry modules. More are planned.

Is this plugin free?

Yes, Blockshifter is completely free, with no premium tier at this time.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Blockshifter”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Blockshifter”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.2.0

  • Adds Masonry, a second Blockshifter module: turns a Gallery or Group block into a compact, variable-height CSS Grid layout, with the same “pick a block, flip a toggle” pattern as Carousel.
  • Gap and (on Gallery) Columns always come from the block’s own native Gutenberg settings — Masonry never duplicates them.
  • Matches Gallery’s native responsive behavior (two columns on narrow screens, configured column count above) on both Gallery and Group.
  • Degrades gracefully to a regular, non-overlapping grid without JavaScript.

0.1.0

  • Initial release: Carousel, the first Blockshifter module, for the Gallery and Group blocks.