Discover in this tutorial how to get reusable blocks displayed in the WordPress admin menu without plugins.
By default, to access the reusable blocks, you must be in the editor.
That is, you have to enter inside a post (or page) and from the top left menu access “Manage all reusable blocks”.
This can be a bit cumbersome, don’t you think?
Luckily, with a little bit of code you can get the reusable blocks “exposed” in the WordPress admin menu, making them much more accessible.
If you’re already taking advantage of reusable blocks, I’m sure this tutorial will come in handy.
Snippet for displaying reusable blocks from the WordPress admin
Add the following code snippet to your functionality plugin:
You got it.
Now you can quickly access the reusable blocks from the WordPress admin menu.
Do you want to a faster access to the reusable blocks you’ve created in WordPress? Now you know how to do it by adding a simple snippet.
Any questions? I read you in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉