跳到内容

Blockshifter

v0.4.0

Ange Chierchia · 2026年8月1日 上架

Transform native Gutenberg blocks into alternate display variants without leaving the editor.

正在使用
10 以下
评分
暂无
累计下载
431
最近更新
2026年11月24日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

The Editor Preview of a Gallery block with Carousel mode enabled, showing the Blockshifter Carousel panel and its settings (slides per page, autoplay, infinite loop) in the Inspector.
The Editor Preview of a Gallery block with Carousel mode enabled, showing the Blockshifter Carousel panel and its settings (slides per page, autoplay, infinite loop) in the Inspector.
The Editor Preview of a Group block with Masonry mode enabled, showing the Blockshifter Masonry panel and its Columns setting in the Inspector.
The Editor Preview of a Group block with Masonry mode enabled, showing the Blockshifter Masonry panel and its Columns setting in the Inspector.
A Gallery block rendered as a Carousel on the front end.
A Gallery block rendered as a Carousel on the front end.
A Group block rendered as a Masonry grid on the front end.
A Group block rendered as a Masonry grid on the front end.
The opt-in telemetry setting in Settings > Blockshifter.
The opt-in telemetry setting in Settings > 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, Query Loop — 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, Group and Query Loop 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, Group and Query Loop blocks, built with native CSS Grid — no third-party library. Native Gutenberg settings stay in charge wherever they exist: Columns and Gap on Gallery, Gap on Group and Query Loop.

  • One toggle to turn a block into a masonry grid
  • Columns (Group and Query Loop — Gallery keeps its own native Columns control)
  • Respects each block’s native Gap and responsive behavior; Query Loop posts stack in a single column on small screens
  • 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;
} );

Privacy

Blockshifter includes a fully opt-in telemetry feature — disabled by default, and no data is ever sent before you explicitly enable it from Settings > Blockshifter.

When enabled, once a week (and once immediately after you opt in), the plugin sends this anonymous payload to https://api.blockshifter.dev/v1/telemetry:

  • A random installation identifier (a UUID generated locally, not tied to your identity or your site’s URL)
  • The Blockshifter, WordPress and PHP version numbers
  • Which Blockshifter modules (Carousel, Masonry…) are detected in your rendered content

No page content, no URL, no username, no email address and no IP address is stored. You can disable telemetry at any time from Settings > Blockshifter, which also stops all further data collection.

Full privacy policy: https://blockshifter.dev/privacy.html

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).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums