Plugins: Manage Blocks

Plugins: Manage Blocks

toggle blocks; locate blocks

Disable Unused Block Editor Blocks

I used to prefer the Disable Unused Block Editor Blocks plugin the most because it not only allows toggling, but also indicates where each block is used (only in Pro version). You can access it through the menu located at “Tools > Disable Unused Blocks”. However, I have encountered difficulties in successfully toggling blocks and it does not display “Embed” blocks. It also seems to not save changes, or actually work as intended.

Block Manager

Block Manager, repo dcooney/block-manager has a very nice UI with all the options needed, and also supports moving blocks between categories. Must use in combination with “Find My Blocks” plugin. Izgleda ok, ali ne mogu da ukapiram koji su blokovi iz CoBlocks.

Disable Gutenberg Blocks

Disable Gutenberg Blocks – Block Manager is the most basic plugin that gets the job done. Menu located “Settings > Disable Blocks”. Ali meni on više uopšte ne radi.

Block Catalog

Block Catalog by 10up at 10up/block-catalog to keep track of which Blocks are used across site. Nakon kreiranja indexa, možeš pristupiti na Posts > Block Catalog ili Pages > Block Catalog ali je UI stvarno čudan i nelogičan. U očajnoj konkurenciji, ovo je još među boljima jer ipak pruža najdirektniji način da pronađem gde se nalazi neki blok.

Problem postoji u tome kada mi prijavi Failed to load posts to index. (rest_invalid_param - Invalid parameter(s): post_types), a to prijavi kada odabereš neki nelogičan post type za indexiranje. Takođe mi se čini da ne broji baš dobro, pošto broji i Reusable blocks, ali ne ume da ih popiše.

Other plugins

Blocks Detector Finder je odličan jer dobro pretražuje ali očajno prezentuje, tako da uopšte nije lako locirati blokove.

Which Blocks je plugin koji samo broji koliko koristim blokova.


Find My Blocks

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

Moj zaključak: Expand to Reusable Blocks · Issue #105 · eddysims/find-my-blocks

https://wordpress.org/plugins/find-my-blocks/ ubacuje menu u Tools > Find My Blocks

Neko je već to isto davno tražio: List of posts where a certain reusable block has been used | WordPress.org

(1) JSON Bahl on Twitter: “@phpbits @NickHamze This plugin is literally querying all posts of all post types with a posts_per_page => -1 query. https://t.co/8gy1YFlXlK This could take down large sites. Use with caution.” / Twitter https://github.com/eddysims/find-my-blocks/issues/36 https://github.com/eddysims/find-my-blocks/issues/44

On je prespor i drugačije radi od onoga što ja hoću. On trči i čita baš svaki post i analizira ga.

https://wordpress.org/support/topic/how-long-does-it-take-to-do-a-first-index/ https://github.com/eddysims/find-my-blocks/blob/35875f43863e4094837005a90f395e48e151953c/src/plugin/inc/register-route.php#L148

Od verzije 4.0 novi autor je preuzeo i unapredio plugin, pa je i novi repo morganhvidt/find-my-blocks: A tool to help you find what Gutenbergs blocks you have used on your WordPress website and where they are located.


date 05. Jan 2022 | modified 13. May 2024
filename: Plugins » Gutenberg » Manage Blocks