Find My Blocks Plugin Shows All Blocks in Use on a WordPress Site

How do you know what blocks are in use on a WordPress site? I recently saw a tweet asking this question in regards to knowing whether it is safe to turn off a plugin. This seems like it could become a common question, especially for those who have hundreds or thousands of blog posts as well as those using WordPress as a CMS.

When looking at content in the editor, it isn’t immediately evident which blocks are in use. You can click on the block navigation at the top of the editor, but that will only show you the blocks in use on that particular page. If you have a lot of plugins installed and many pages of content to wade through, figuring out if it’s safe to remove a plugin can be a time-consuming process.

Fortunately, there is already a plugin that will give you a quick overview of where blocks are being used on your site. Find My Blocks is the one that was suggested to Nick Hamze in response to the question in his tweet. I had not heard of it before, so I took it for a test drive today.

Find My Blocks is basically a utility plugin that lists the blocks being used on your WordPress site, along with the posts/pages where they are in use. It includes core blocks and blocks from third-party plugins. The plugin’s settings also give the option to sort the block menu display alphabetically or by most/least popular.

Find My Blocks Plugin Shows All Blocks in Use on a WordPress Site 1

Frontend developer Eddy Sims created Find My Blocks to solve one of his own problems and released it on WordPress.org in January.

“I was working on a site that required a few custom Gutenberg blocks,” Sims said. “After a week, updating became a hassle. I didn’t know where the blocks were used. Find My Blocks is a plugin I created to hopefully help someone else with this issue.” So far it has received several five-star reviews in the plugin directory.

“We’ve been using this plugin to help us figure out where we’ve used blocks on pages so we can deprecate them and replace them with shiny new blocks!” WordPress developer Tammy Lee said. “This plugin makes tracking down blocks really easy! I don’t want to think about how much time it would have taken us, otherwise.”

Find My Blocks is a plugin you may want to add to your favorites on WordPress.org for the next time you inherit a site that you didn’t build, or for cleaning out your own installed plugins.

위로 스크롤