Home>Support>Disable ‘add block’ button for new posts on Gutenberg

Disable ‘add block’ button for new posts on Gutenberg

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.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 2 years, 16 days ago Andrew Misplon
    Hi, I Work Here

    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.

  2. 2 years, 13 days ago Andrew Misplon
    Hi, I Work Here

    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

  3. 2 years, 13 days ago Carlos Perez

    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,

  4. 2 years, 13 days ago Andrew Misplon
    Hi, I Work Here

    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

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More