Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi there,
I wish to know if there’s some way to disable the ‘add layout block’ button that appears when creating a new post. I mean this one:
https://postimg.cc/jLKFXZ6v
I’m having problems clicking it by error and I normally don’t use it.
Thanks for your help.
Hi Carlos
Thanks for posting your question.
As far as I’m aware, a setting isn’t available to remove the Block Editor Layout Block button. I’ve forwarded your request to our developer for his attention. We’ll do our best to introduce a setting in the next Page Builder release. The setting will be available at SettingsPage Builder. Please, feel free to follow up with me about this anytime.
Hi Carlos
I’ve chatted with Alex at SiteOrigin. He let me know that the following can be added via the Code Snippets plugin or a child theme functions.php file to remove the Add SiteOrigin Layout Block button:
add_filter( 'siteorigin_layout_block_show_add_button', '__return_false' );
He also let me know that a setting will be added in the near future to SettingsPage BuilderGeneral.
Thanks for your feedback. Please, let us know if you have any follow-up questions.
Cheers, Andrew
Hello Andrew,
Thanks for your help, I’ve tried the provided code and it works fine for me.
Good to know there’ll be a setting for that too.
Regards,
Hi Carlos
Super, I’m glad to hear you’ve used the filter Alex sent us successfully. Thanks for your feedback on this topic. If any queries or requests arise in the future, please, let us know.
Cheers
Andrew