跳到内容

Block Class Manager – Global CSS Classes & Responsive Styles for Gutenberg

v0.0.7

Block Class Manager · 2026年7月20日 上架

Manage reusable CSS classes and responsive styles directly in Gutenberg. Build consistent layouts without repetitive block styling.

正在使用
10+
评分
5.0 / 5
累计下载
814
最近更新
2026年11月10日
1 条评价需要 WordPress 7.0+已测试到 7.1.5PHP 8.0+

截图

Create and manage reusable Global Classes directly in the Gutenberg editor.
Create and manage reusable Global Classes directly in the Gutenberg editor.
Block Class Manager control panel for styling and layout.
Block Class Manager control panel for styling and layout.
Control flex layout properties directly from the Gutenberg editor.
Control flex layout properties directly from the Gutenberg editor.
View and manage your Global Classes in one place.
View and manage your Global Classes in one place.
Manage Global Class states and edit their styling rules.
Manage Global Class states and edit their styling rules.
Quickly find and apply Global Classes with autocomplete and search.
Quickly find and apply Global Classes with autocomplete and search.
Set HTML elements and custom attributes such as ID, data-*, and ARIA attributes.
Set HTML elements and custom attributes such as ID, data-*, and ARIA attributes.
Control responsive styles for tablet layouts.
Control responsive styles for tablet layouts.

Manage reusable CSS classes and responsive styles directly in Gutenberg. Build consistent layouts without repetitive block styling.

Manage reusable CSS classes and responsive styles directly in Gutenberg

Create a class once, reuse it across BCM blocks, and control how it behaves on desktop, tablet, and mobile without repeating the same styles over and over.

Block Class Manager enhances the native Gutenberg workflow with a structured, class-based styling system without replacing Gutenberg with another page builder or block library.

🚀 Try BCM in WordPress Playground

Want to see BCM in action without installing anything?

Try the Live Demo

Explore Global Classes, responsive styling, and the BCM workflow directly in a real WordPress editor.

✨ Global Classes & Responsive Styling

Create once. Reuse across your layouts.

BCM lets you create reusable Global Classes and apply them to BCM blocks. Define your styling rules once and reuse them wherever the same design pattern is needed.

You can also control responsive values for desktop, tablet, and mobile, using the breakpoint values provided by your active WordPress theme.

With BCM you can:

  • Create and manage up to 10 reusable Global Classes
  • Apply Global Classes to BCM blocks
  • Convert local styles into reusable Global Classes
  • Configure responsive values per device
  • Control layout and styling directly inside Gutenberg
  • Generate frontend CSS automatically
  • Add HTML attributes such as id, data-*, and aria-*
  • Use BCM with pages, posts, and FSE template parts

🎨 Local Styles & CSS Management

BCM provides visual controls for configuring CSS properties directly inside Gutenberg.

You can customize individual blocks using local styles or apply Global Classes to share styling rules across your layouts.

This gives you flexibility to manage both individual elements and reusable design rules without repeatedly configuring the same properties.

🔄 How It Works

  1. Create or select a BCM block: Container, Text, Media, or Button.
  2. Style the block: Use local styling controls for your specific block.
  3. Create a Global Class: Turn reusable styling rules into a class.
  4. Reuse the class: Apply the same Global Class to other BCM blocks.
  5. Adjust responsive values: Define how your styles behave across desktop, tablet, and mobile.

Your styling rules are managed directly inside the Gutenberg editor, while BCM generates the corresponding frontend CSS.

🧱 Lightweight Foundation Blocks

BCM includes a small set of configurable foundation blocks:

  • Container: Build flexible layouts and organize nested content.
  • Text: Create text elements using different HTML tags.
  • Heading: Configure semantic heading elements.
  • Media: Add and configure image elements.
  • Button: Create customizable button elements.

These blocks provide a lightweight foundation for BCM’s styling workflow. Their appearance and layout can be controlled through local styling properties and reusable Global Classes.

BCM is not a page builder or a traditional block library. It extends the native Gutenberg experience with a structured styling system while keeping the WordPress Block Editor at the center of your workflow.

🔌 Gutenberg & WordPress Integration

BCM is designed to work alongside the WordPress block editor and block-based themes.

  • Gutenberg Editor
    BCM controls are integrated directly into the WordPress block editor.

  • Full Site Editing (FSE)
    Compatible with block-based themes, templates, and template parts.

  • WordPress Content
    Supports pages, posts, and FSE template parts.

Using BCM Global Classes with native WordPress Core blocks requires BCM Extension.

The optional BCM Extension adds the Global Class Engine for native Core blocks, allowing you to use BCM Global Classes beyond BCM foundation blocks.

🚀 BCM Extension

BCM Extension adds advanced workflow and inspection features for larger and more complex Gutenberg projects.

Features include:

  • Unlimited Global Classes
  • Drag & Drop Global Class priority management
  • Global Class usage counter
  • Generated CSS Inspector (Global & Local CSS viewer)
  • Style Origin Inspector (CSS cascade visualization)
  • Enhanced responsive value indicators
  • Global Class Engine for native WordPress Core blocks
  • Enhanced “Additional CSS Class(es)” field with Global Class suggestions

The Extension is available separately as a free, pay-what-you-want add-on.

👉 Get BCM Extension

⚡ Why Block Class Manager

Styling Gutenberg layouts can become repetitive when the same spacing, layout, and design rules have to be configured again and again.

BCM introduces a reusable, class-based workflow so you can define styling rules once and reuse them across your layouts.

Instead of repeatedly configuring the same values on individual blocks, you can centralize reusable styles in Global Classes and control responsive behavior from the Gutenberg editor.

💡 Use Cases

  • Create reusable styling patterns with Global Classes
  • Standardize spacing and layout rules
  • Reuse the same styles across multiple BCM blocks
  • Build responsive layouts with desktop, tablet, and mobile controls
  • Reduce repetitive block configuration
  • Create more consistent Gutenberg-based websites

📦 Installation

Requirements

  • WordPress 6.7 or higher
  • PHP 8.0 or higher

Installation Steps

  1. Upload the plugin to /wp-content/plugins/ or install it through the WordPress plugin installer.
  2. Activate Block Class Manager.
  3. Open the Gutenberg editor and add a BCM block.
  4. Start creating local styles and reusable Global Classes.

Plums

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

导航

说明

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

© 2026 Plums