Title: Block Finder
Author: Troy Chaplin
Published: <strong>September 2, 2024</strong>
Last modified: May 16, 2026

---

Search plugins

![](https://ps.w.org/block-finder/assets/banner-772x250.png?rev=3533774)

![](https://ps.w.org/block-finder/assets/icon-256x256.png?rev=3533774)

# Block Finder

 By [Troy Chaplin](https://profiles.wordpress.org/areziaal/)

[Download](https://downloads.wordpress.org/plugin/block-finder.1.1.0.zip)

 * [Details](https://test.wordpress.org/plugins/block-finder/#description)
 * [Reviews](https://test.wordpress.org/plugins/block-finder/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/block-finder/#installation)
 * [Development](https://test.wordpress.org/plugins/block-finder/#developers)

 [Support](https://wordpress.org/support/plugin/block-finder/)

## Description

**Ever needed to track down where a specific block is being used?** Block Finder
adds a dashboard widget that searches your entire site for any core or custom block.
Pick a block, click Search, and instantly see every place it appears — along with
a count of how many times it’s used, whether it’s nested inside another block, and
a direct link to edit that content.

No more manually opening posts one by one hoping to find the right block. Block 
Finder does the searching so you don’t have to.

#### Who is this for?

**Content editors and site managers** — need to update every post that uses a specific
call-to-action block? Wondering which pages are still using a block you’re about
to change? Block Finder gives you the answer in seconds, with one-click access to
edit each result.

**Developers and theme builders** — auditing block usage across templates and template
parts in the Site Editor, checking registered patterns, or running automated checks
from the command line. Block Finder has you covered.

#### Features

**Search your way:**

 * Type-ahead block picker powered by WordPress’s native Combobox — no hunting through
   a long list
 * Search Posts, Patterns, Templates, and Template parts all from one form
 * Filter by post type to narrow results, or search across everything at once
 * Filter by post status — include drafts, pending, scheduled, and private content
   alongside published

**Understand what you find:**

 * See the total number of times a block appears in each piece of content
 * InnerBlock detection shows how many of those instances are nested inside another
   block
 * Source badges make it clear at a glance whether a result came from a post, a 
   pattern, a template, or a template part
 * Status badges surface non-published content so nothing gets missed

**Act on results quickly:**

 * Direct edit links open any result straight in the block editor or Site Editor
 * Paginated results keep large result sets easy to browse
 * Filter between all instances and nested-only with a single click

#### For Developers and Theme Builders

**WP-CLI** — run `wp block-finder search <block>` from the command line. Supports`--
post-type`, `--post-status`, `--sources`, and `--format=table|json|csv|count|ids`.
Use `--format=count` in CI pipelines or `--format=csv` for export and audit reports.

**Template and template part search** — find blocks inside Site Editor templates
on any block theme. Both file-based and database-stored templates are included.

**Pattern search** — covers user-saved synced patterns and every pattern registered
by your theme or plugins via `WP_Block_Patterns_Registry`, not just the ones saved
to the database.

**Developer hooks** — extend or modify search behaviour without touching plugin 
code:

 * `block_finder_sources` — add or remove sources before the search runs
 * `block_finder_results` — modify the assembled result set before it is returned

**REST API** — `GET /wp-json/block-finder/v1/search` is available for custom integrations.
Requires `edit_posts` capability.

## Screenshots

 * [[
 * Block Finder dashboard widget ready to search various content types.
 * [[
 * Type ahead helps you easily find blocks in a list.
 * [[
 * Search results for published and draft posts containing the core paragraph block.
 * [[
 * Search results for the core group block in patterns and template parts.

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`, or install directly from the
    WordPress plugin directory.
 2. Activate the plugin from the **Plugins** page.
 3. Visit your WordPress **Dashboard** and find the **Block Finder** widget.

## FAQ

### How do I search for a block?

Open the WordPress dashboard and find the Block Finder widget. Type the name of 
any block into the search field, choose where to look (“Search in”), optionally 
narrow by post type and status, then click **Find Block**.

### What does “Search in” control?

It lets you choose which content sources to include:

 * **Posts** — all public post types that support the block editor
 * **Patterns** — user-saved synced patterns plus any registered by your theme or
   plugins
 * **Templates** and **Template parts** — Site Editor content; only available on
   block themes

### What are InnerBlocks?

InnerBlocks are blocks nested inside other blocks — a Paragraph inside a Group, 
or a Button inside a Cover. Block Finder shows you the total usage count and how
many are nested, so you know whether a block appears standalone or embedded inside
another.

### Can I search from the command line?

Yes. With WP-CLI installed, run `wp block-finder search <block-name>` for a quick
table output. Use `--format=count` for CI checks or `--format=csv` for audit exports.
Run `wp block-finder search --help` for all available options.

### Does it work with custom post types?

Yes. Any public post type that supports the block editor is automatically included.

### Does it work with classic themes?

Partially. Post, pattern, and custom post type searches work on any theme. Template
and template part search requires a block theme because those content types only
exist in the Site Editor.

### How do I uninstall?

Deactivate and delete the plugin from the Plugins page. All cached search data is
removed from the database automatically on uninstall.

## Reviews

![](https://secure.gravatar.com/avatar/786a875f6beea56a213bc0ef8582c9eef77460cd21d4bde39a13d9246d92c311?
s=60&d=retro&r=g)

### 󠀁[Block Finder – A Lifesaver for Large-Scale Gutenberg Migration](https://wordpress.org/support/topic/block-finder-a-lifesaver-for-large-scale-gutenberg-migration/)󠁿

 [charlottebradley](https://profiles.wordpress.org/charlottebradley/) September 
4, 2024

Block Finder has been an invaluable tool throughout our migration of over 700 websites
from WordPress Classic to Gutenberg. At the beginning of the migration, as we discovered
bugs with custom blocks, this straightforward plugin was very helpful in identifying
where the blocks existed across all pages and post types. It allowed us to quickly
identify blocks in multiple sites that needed to be adjusted. With several websites
already live, Block Finder allowed us to find and fix these issues efficiently. 
I would highly recommend this plugin for anyone managing large-scale migrations 
or working with custom blocks.

 [ Read all 0 reviews ](https://wordpress.org/support/plugin/block-finder/reviews/)

## Contributors & Developers

“Block Finder” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Troy Chaplin ](https://profiles.wordpress.org/areziaal/)

“Block Finder” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/block-finder/contributors)
for their contributions.

[Translate “Block Finder” into your language.](https://translate.wordpress.org/projects/wp-plugins/block-finder)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/block-finder/), check
out the [SVN repository](https://plugins.svn.wordpress.org/block-finder/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/block-finder/) by
[RSS](https://plugins.trac.wordpress.org/log/block-finder/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

View the full [changelog](https://github.com/troychaplin/block-finder/blob/main/CHANGELOG.md)
on GitHub.

## Meta

 *  Version **1.1.0**
 *  Last updated **11 hours ago**
 *  Active installations **20+**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 8.0 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/block-finder/), [English (US)](https://wordpress.org/plugins/block-finder/),
   [French (France)](https://fr.wordpress.org/plugins/block-finder/), and [Italian](https://it.wordpress.org/plugins/block-finder/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/block-finder)
 * Tags
 * [blocks](https://test.wordpress.org/plugins/tags/blocks/)[gutenberg](https://test.wordpress.org/plugins/tags/gutenberg/)
   [patterns](https://test.wordpress.org/plugins/tags/patterns/)[search](https://test.wordpress.org/plugins/tags/search/)
   [site editor](https://test.wordpress.org/plugins/tags/site-editor/)
 *  [Advanced View](https://test.wordpress.org/plugins/block-finder/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/block-finder/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/block-finder/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/block-finder/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/block-finder/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/block-finder/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-finder/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/block-finder/reviews/)

## Contributors

 *   [ Troy Chaplin ](https://profiles.wordpress.org/areziaal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/block-finder/)