Find My Blocks – Locate blocks on your site

Description

Find My Blocks is a WordPress plugin built to help (as it says in the name) find where you have used specific Gutenberg blocks on your WordPress website.

Gutenberg is a great tool to make managing content on your WordPress website easier. However after a while, updating and maintaining blocks can become a hassle for developers. It can become hard to keep track of what posts/pages a block is used on, or how many times it has used. This makes maintaining Gutenberg websites quite difficult.

Find my blocks is a tool that is here to help. With Find My Blocks you can get:

  • A list of all the block types that are being used on your WordPress website.
  • The amount of times a specific block type has been used on your WordPress website.
  • The posts/pages that a block has been used on.
  • The amount of times a block has been used on a specific post/page.
  • If the block is a “Reusable Block”
  • If the block is a “Nested Block”
  • A filtered list of block names to help you find the block that you are looking for.
  • What are your most used, and least used blocks on your website.

👋 I have adopted Find My Blocks from original creator Eddy Sims.
I’m on a mission keep this great plugin alive for the community.
Got suggestions? Drop them in support forum.

Morgan Hvidt

LEARN MORE

More Block Plugins

Installation

  1. Upload the plugin files to the /wp-content/plugins/find-my-blocks directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Tools->Find My Blocks screen to locate all of your blocks

FAQ

Will this work with custom blocks

Yes, this plugin will work with all blocks registered and used on your site.

Reviews

February 15, 2024 2 replies
The Find My Blocks plugin would not work with my website, which is using WP 6.4.2 and the Twenty Twenty Four theme. I posted a question on the support side of this plugin, but I guess I should have instead posted a review. No one responded to my support post. I just wanted to warn people that despite what other people have written, this plugin kept freezing, and it writes stuff to your database that resides permanently even after you delete the plugin. (sorry, but this website will not let me insert a link to my support post)
December 27, 2023 1 reply
I'm using this on Wordpress 6.4.2 and it works. This is just such a useful piece of kit. It even finds ACF defined blocks and filters removed blocks.Extra points for putting it in the Tools menu.Hero of the day.(Can you do the same for images please? 😉
October 20, 2023
Find My Blocks is a powerful tool when wishing to manage a block-based site. It gives you the ability to see across your site for all instances of specific block types. This is especially helpful when you're wishing to replace or modify a block type on a site-wide scale.As block libraries grow and there become a multitude of similar, overlapping block types, the Find My Blocks plugin will be especially helpful in optimizing & standardizing your site.In short: don't build a block-based site without Find My Blocks.
September 9, 2023
I had installed many sets of blocks to try out and ended up with a lot of overlap of block types and a mess of using a few blocks from one plugin, and a few from another, and a few more from others. Find My Blocks gave me a way to clean up the mess without the risk of removing blocks that content depended on.
January 18, 2023
I needed to find where a specific block had been used and tried another plugin first, but that one didn't find very many of them. With this plugin, I got a much more extensive list of blocks and could quickly solve my issue - thanks!
Read all 38 reviews

Contributors & Developers

“Find My Blocks – Locate blocks on your site” is open source software. The following people have contributed to this plugin.

Contributors

“Find My Blocks – Locate blocks on your site” has been translated into 6 locales. Thank you to the translators for their contributions.

Translate “Find My Blocks – Locate blocks on your site” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.5.3

  • Changes the icon for “# of usages in Post” for clarity

3.3.2

  • Fixes the broken wp-json url
  • Updates the donate link to a BuyMeACoffee Link

3.3.1

  • Uses get_rest_url for the fetch url.

3.3.0

  • Uses get_admin_url for the edit link to avoid redirect loops.

3.2.0

  • Adds the site_url() to the fetch url.

3.1.3

  • Fixes a 🐛 that was causing the plugin to not load on some sites.

3.1.0

  • Allows for filtering by block name on the API endpoint. (/wp-json/find-my-blocks/blocks?name=core/button)

3.0.0

  • Changes to use WordPress components and match WordPress styling
  • Includes private, pending, and future status posts in main query
  • Allows the ability to optionally include drafts
  • Fixes a 🐛 where cards would change order for no reason

2.3.0

  • Checks for nested blocks.
  • Adds a tag to a card if the block is nested

2.2.0

  • Hides the “core-embed” blocks with the “Hide Core Blocks” option.
  • Fixes the broken link when plugin is first activated.

2.1.0

  • Moves the menu item to Tools > Find My Blocks.
  • Hides core blocks by default. The option to show and hide core blocks is now
    in settings.
  • Settings moved from top of blocks to side on wider screens.

2.0.2

  • Fixed the navigation showing ‘Found in 1 postfalse’ when only one post found

2.0.1

  • Fixed a bug where the page refresh didn’t properly set the active block

2.0.0

  • Moves Find My Blocks out of the Settings menu and into its own sidebar item
  • Layout moved off of WordPress components to allow better testing
  • On initial load, the proper first navigation will be selected as active
  • When the page is refreshed, the selected block will stay active
  • Allows sorting of navigation and cards
  • Launches official website https://find-my-blocks.edeesims.com/

1.4.0

  • Allows the editor role to use the plugin

1.3.0

  • Sorts the list of the navigation alphabetically.
  • Sorts the list of pages alphabetically.
  • Some updates to styling to bring more inline with Gutenberg and WordPress
    core.

1.2.0

  • Adds a Filter Input to allow you to filter blocks in the menu.
  • Updates the style of the header to be just a little bit nicer.
  • Adds a loading screen so that you are not bored waiting for the page to load.

1.1.0

  • Adds a message to notify the amount of times a block has been used in a post.
  • Removes some old, unused functionality.

1.0.0

  • Initial Release