Find My Blocks

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 see:

  • 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”
  • 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.

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 Settings->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

October 7, 2020
Leaving this here as a notice to others, as I almost damaged my site using this plugin. Despite mentioning it finds all custom blocks, this is not the case. This plugin does not find blocks inside of other blocks (nested blocks) Things like columns or block wrapper blocks will be shown, but if you place any content inside of these blocks, like in my case, a Jetpack Tiled Gallery inside of a Qubely block wrapper or Row/Column block, it does not display the blocks inside of them AT ALL. Beware of this if you use nested blocks on any of your pages. You still need to manually check those pages to see what's inside of them.
September 17, 2020
Thank goodness for this plugin, which fills a noticeable hole in core! I like being able to disable some blocks using the block manager, but until I found this, I was never confident that I wasn't disabling something that someone had used in a post! Thank you!
August 30, 2020
Neat - well laid out, logical and fills a need. Especially useful if using more than one Gutenberg addon. Cheers
July 20, 2020
This was so helpful - not only to identify what blocks were used but in which posts, and it shows all your custom post types as well. I'm thankful for the time this plugin has saved me!
Read all 12 reviews

Contributors & Developers

“Find My Blocks” is open source software. The following people have contributed to this plugin.

Contributors

“Find My Blocks” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Find My Blocks” into your language.

Interested in development?

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

Changelog

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

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

2.0.1

  • May 3rd, 2020
  • Fixed a bug where the page refresh didn’t properly set the active block

2.0.0

  • May 3rd, 2020
  • 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

  • March 29, 2020
  • Allows the editor role to use the plugin

1.3.0

  • February 3, 2020
  • 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

  • January 21, 2020
  • 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

  • December 29, 2020
  • 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

  • December 3, 2019
  • Initial Release