Home › Forums › Support › hide layout window in posts and pages This topic has 4 replies, 2 voices, and was last updated 3 years, 11 months ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 4, 2020 at 6:45 am #1268749 Basello hello, I would like to hide the layout window (who contain the setting for sidebar, footer widgets,etc) in the back end for pages and posts. This for all users. Is it possible to add some code in a child theme for that, please? Thank you for your help. May 4, 2020 at 9:06 am #1269162 LeoStaff Customer Support Hi there, Does this help? https://generatepress.com/forums/topic/disable-elements-2/#post-206898 Let me know ๐ May 4, 2020 at 9:12 am #1269167 LeoStaff Customer Support If you want to remove it for everyone then try this: add_action( 'add_meta_boxes', function() { remove_meta_box( 'generate_layout_options_meta_box', 'page', 'side' ); remove_meta_box( 'generate_layout_options_meta_box', 'post', 'side' ); }, 999 ); Adding PHP: https://docs.generatepress.com/article/adding-php/ May 4, 2020 at 9:37 am #1269213 Basello Thank you! It is perfect! May 4, 2020 at 10:14 am #1269251 LeoStaff Customer Support No problem ๐ Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In