Okay
  Public Ticket #3739717
Removing "Use Blank Template" box
Open

Comments

  • [email protected] started the conversation

    We use LayerSlider within a highly controlled custom theme for our client. I would like to remove the "Use Blank Template" box that appears within Gutenberg while editing pages. Is there a way to do this, other than hiding it with CSS?

    Attached files:  layerslider.png

  •  73
    John replied

    Hello,

    Thank you for getting in touch with us. My name is John, and I'm happy to assist you today. I appreciate your patience while we've been working toward your case.

    If you don't like using CSS to hide the meta box, you can use the following PHP code in your theme's functions.php file to completely prevent adding the meta box in the first place:

    add_action('do_meta_boxes', function() {
        remove_meta_box('ls-page-meta-box', [ 'post', 'page' ], 'side');
    });

    Please let me know if I can help you with anything else - if not, I wish you a fantastic rest of the week.

    Best Regards,
    John | Kreatura Dev Team