Image
Image

Block Manager

説明

Block Manager gives you complete control over the WordPress Block Editor by allowing you to:

Disable Blocks – Remove unwanted blocks from the Block Inserter and Editor
Disable Patterns – Hide block patterns you don’t need with a single click
Change Block Categories – Reorganize blocks by updating their categories for better workflow

Simplify your WordPress editing experience by removing clutter and organizing blocks exactly how you need them. Perfect for client sites, custom workflows, and maintaining a clean, focused Block Editor.

Key Features

Disable Blocks
– Globally remove any block from the Block Inserter and Block Editor.
– Disable block variations individually while keeping the core block.
– Control Embed blocks (Twitter, Facebook, YouTube, etc.) to remove unwanted options.
– Toggle entire block categories on/off with one click.

Disable Block Patterns
– Remove unwanted block patterns with a simple toggle.
– Hide core WordPress patterns that don’t fit your site.
– Clean up the pattern library for a focused editing experience.

Change Block Categories
– Update the category of any block to better organize your Block Inserter.
– Create a custom workflow that matches your editing process.
– Improve findability by grouping related blocks together.

Additional Features
Code Hooks: Use filters to control blocks and patterns via functions.php.
Search and Filter: Quickly locate blocks and patterns with built-in search.
Export Options: Generate code snippets for syncing across environments.
Status Reports: View active and disabled blocks at a glance.

フックとフィルター

Block Manager フックを使用して、コード経由でブロックを制御し、複数の WordPress 環境間でオプションを同期します。

gbm_disabled_blocks

gbm_disabled_blocks フックを使用して、バックエンドコード経由でブロックを削除します。

// functions.php
add_filter( 'gbm_disabled_blocks', function() {
    return [
        'core/buttons',
        'core/columns',
        'core/freeform',
        'core/table'
    ];
});

gbm_disabled_patterns

Use the gbm_disabled_patterns hook to remove block patterns via backend code.

// functions.php
add_filter( 'gbm_disabled_patterns', function() {
   return ['gbm/core-patterns', 'core/query-standard-posts', 'core/query-medium-posts'];
});

gbm_block_categories

gbm_block_categories フックを使用して、バックエンドコード経由でブロックカテゴリーを更新します。

// functions.php
add_filter( 'gbm_block_categories', function() {
    return [
        [ 'block' => 'core/html', 'cat' => 'design' ],
        [ 'block' => 'core/cover', 'cat' => 'design' ],
        [ 'block' => 'core/details', 'cat' => 'design' ]
    ];
});

block_manager_user_role

Block Manager プラグインへのアクセスが許可される最小ユーザー権限を更新します。

// functions.php
add_filter(
    'block_manager_user_role',
    'edit_theme_options' // Default: activate_plugins
);

スクリーンショット

  • Image
    ブロックを無効にする: 各ブロックのアクティブ状態を切り替えることで、不要な WordPress ブロックを簡単に削除できます。
  • Image
    ブロックの切り替え: ブロックカテゴリー内のすべてのブロックを 1 回のクリックで無効にします。
  • Image
    ブロックカテゴリー: カテゴリースイッチャーを使用して各ブロックのカテゴリを更新することで、管理者の編集エクスペリエンスが向上します。
  • Image
    Disable Block Patterns: Remove unwanted block patterns and core patterns by toggling the active state of each pattern.
  • Image
    ステータスレポート: アクティブなブロックと無効なブロックの合計がプラグインのサイドバーに表示されます。
  • Image
    埋め込みブロック: サイトで許可する埋め込みブロックを選択し、不要なオプションの大部分を削除します。

インストール

Block Manager のインストール方法です。

WordPress 管理画面を使用

  1. 管理画面の「プラグイン」から「新規追加」を選択
  2. 「Block Manager」を検索
  3. 「今すぐインストール」をクリック
  4. プラグインダッシュボードでプラグインを有効化

WordPress ダッシュボードでアップロードする

  1. 管理画面の「プラグイン」から「新規追加」を選択
  2. 「アップロード」エリアに移動
  3. コンピュータから block-manager.zip を選択
  4. 「今すぐインストール」をクリック
  5. プラグインダッシュボードからプラグインを有効化

FTP を使用

  1. block-manager.zip をダウンロード
  2. block-manager ディレクトリをコンピュータに展開します
  3. block-manager ディレクトリを /wp-content/plugins/ ディレクトリにアップロードします
  4. プラグインダッシュボードからプラグインを有効化

次にプラグインを使用するため wp-admin -> 設定 -> Block Manager へ移動します。

評価

Image
2025年4月18日 1 reply
What a wonderful plugin! It’s amazing how WP adds all kinds of crap and no way to turn it off – I don’t use patterns, don’t want my clients to use them, and this is the perfect solution to avoid these types of issues. Fantastic way to remove unwanted core blocks as well, sanity at last, THANK YOU!
Image
2024年2月4日 1 reply
Great plugin, thank you. Let me tame my plug in beast and bring order to the Press. I combined it with the php filter ‘block_categories_all’ to move them to my own categories as well. Together, they have made a world of difference.
Image
2022年11月19日 2 replies
I wanted to like this plug for the nice UI design. When I open the block manager screen, the two grey tabs where block listings are suppose to display are empty. It looks like some kind of glitch. Update: I added a couple more review stars for author’s response. Hopefully the issue gets fixed soon.
Image
2022年9月15日 1 reply
Having the ability to disable some of the more obscure, unnecessary blocks is essential and this plugin features on every site I work on. Thanks!
13件のレビューをすべて表示

貢献者と開発者

Block Manager はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Block Manager” は6ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Block Manager” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

3.2.0 – January 14, 2026

  • NEW: Added support for Stretchy Paragraph and Stretchy Heading block variations.
  • Fix: Fixed issue with Embed block variation display.
  • NEW: Added WordPress version detection to improve compatibility with future WP releases.
  • UPDATE: Project dependency updates.
  • UPDATE: Various code refactoring and organization.

3.1.2 – December 8, 2025

  • FIX: Fixed issue WP 6.9 and missing required sprintf package.
  • UPDATE: Project dependency updates.

3.1.1 – March 15, 2025

  • FIX: Fixed issue with rendering block icons of various plugins. Now using default WP block editor BlockIcon rendering.
  • FIX: Fixed issue with blocks not showing in Block Manager when being registered using enqueue_block_assets hook.
  • UPDATE: Admin UI/UX updates.

3.1.0 – November 3, 2024

  • UPDATE: New admin UI.
  • UPDATE: Various changes for upcoming Block Manager Pro plugin.

3.0.0 – April 3, 2024

  • NEW: Added support for disabling block patterns and core block patterns.
  • FIX: Fixed incorrect number of filtered blocks display in Blocks sidebar.
  • FIX: Fixed issue with return value in admin_footer text.
  • UPDATE: Updated plugin installer vendor file.
  • UPDATE: Various code refactoring and organization.
  • UPDATE: Various security updates.

2.1.1 – November 1, 2023

  • HOTFIX: Fix for undefined React key warning when WP_DEBUG is enabled.

2.1.0 – November 1, 2023

  • NEW: Adding notification system for feedback after an action is performed.
  • UPDATE: Added display indicators for variation blocks.
  • FIX: Fixed potential upgrade issue with disabled blocks throwing admin error due to object vs array data.
  • FIX: Fixed issue with missing loading animation.
  • FIX: Fixed issue with block variations not counting towards block count.

2.0.0 – October 20, 2023

  • NEW – New admin interface and interactions for the Block and Block Categories pages.
  • NEW: Added block category export and hook gbm_block_categories to allow for changing block categories at the theme level.
  • UPDATE: Updated build scripts and dependencies to use wp-scripts.
  • UPDATE: Block Manager is now supported on Widget screen.
  • FIX: Fixed issue with some missing block definitions.
  • FIX: Fixed issues with block icons not rendering for some blocks.
  • FIX: Fixed issue with various blocks crashing the Block Manager edit screen.
  • FIX: Other various bug fixes and overall improvements.

1.2.5 – May 23, 2023

  • FIX – Fixed potential issue with JS errors on Site Editor screens.
  • UPDATE – WP version bump and testing.

1.2.4 – November 30, 2022

  • HOTFIX – Fixed issue with plugin not working on edit screens.

1.2.3 – November 19, 2022

  • FIX: Added fix for blank screen when users have JetPack plugin enabled.
  • FIX: Fixed issue with missing semi-colon in Block Manager export functionality.
  • FIX: Added fix for only loading the block removal script on New and Edit screens.

1.2.2 – August 17, 2021

  • NEW – Added new Reset option that will clear all disabled blocks.
  • FIX – Added fix for possible issue with icon width on blocks admin page.
  • UPDATE – Updated tab navigation inside the plugin to make it more clear which section was being edited.

1.2.1 – February 28, 2021

  • UPDATE – Added Category Switcher support for all block including core Gutenberg blocks.

1.2 – February 27, 2021

  • NEW – Added new Category Switcher.
    • The Category Switcher provides functionality for changing the category core Gutenberg blocks.
    • Changing a block category will update the location of the block in the Gutenberg Block Inserter while editing posts.
  • FIX – Fixed issue with missing semi-colon in export code.
  • UPDATE – Various admin UI/UX updates.

1.1 – January 19, 2021

  • NEW – Added new gbm_disabled_blocks filter to allow for disabling blocks via functions.php
  • NEW – Added Export option to dynamically build a pre-populated gbm_disabled_blocks filter.
  • NEW – Added Grid/List view toggle.

1.0.1 – January 2, 2021

  • NEW – Added support for Embed blocks (Twitter, Facebook, Spotify etc). These blocks were changed in WP 5.6 and the handler had to be updated to manage the active/inactive states.
  • FIX – Fixed REST API warning for missing permissions_callback.

1.0 – January 6, 2020

  • Initial release