Home › Toolset Professional Support › [Resolved] Hide the Template Layout metabox
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Tagged: Backend editing, Layouts plugin
Hi I've attempted to remove the metabox as highlighted in the attached screenshot however it doesn't seem to work for me. Here's a gist of what I've used in my functions.php
hidden link
However while this typically works with other metaboxes it doesn't seem to work here. Is there a way to hide this metabox?
Thanks
Hello. Thank you for contacting the Toolset support.
Well - to hide the side bar box for "Template Layout", please try to add following code to your current theme's functions.php file.
add_action( 'admin_head', 'wpv_custom_admin_head', 20); function wpv_custom_admin_head() { remove_meta_box( 'wpddl_template', 'page', 'side' ); }
Where:
- Replace 'page' with your desired post type slug