Anyone know a way to remove a block once it’s been registered. I followed the testimonial tutorial but wanted to change the way it was displayed.
So I changed the template file but none of my changes showed up.
Edit files. Saved files. No changes. Still displaying the same way as first registered.
Then I commented out the include files (I separated them instead of just including in functions) figuring it wouldn’t show up in the editor. Wrong. Block still there and displaying like the example rather than my edits.
Then I removed the field group.
Still showing up as an option in the editor, but no options since ACF field group removed.
So my theme is not including the files, the field group has been removed, yet there is still a “Testimonial” option for a gutenberg block in the editor.
Where do I deregister the testimonial block?
I want a testimonial block but I want to be able to make changes to it as I’m developing.
I’m on a localhost with no caching.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Like w/ ACF you could have a dozen different themes that use the same fields but make it look different. With a page builder you have data storage AND visual lock-in and something like rebranding means you can’t just change a few theme colors, you have to restart from scratch.