Do you want to disable the screen options button in WordPress? The display options button allows you to show and hide elements on different pages through the WordPress admin area. In this article, we will show you how to disable the screen options button in WordPress.
The Screen Options button is located in the top right corner of different pages in your WordPress admin area. It allows each registered user to show and hide elements in various sections of the WordPress admin area.
Many WordPress site owners run multi-author blogs. With the screen options button, your authors can accidentally uncheck something that's important.
For example, on the post edit screen, users can show/hide the change author field, featured image section, and more.
You can control the administration view for all users by turning off the screen options button. Let's take a look at how to easily disable the screen options button in WordPress.
This method is easier and is recommended for all users.
The first thing you need to do is install and activate the Adminimize plugin. For more details, check out our step-by-step guide on how to install a WordPress plugin.
Upon activation, you need to visit Settings »Manage page to configure plugin settings.
You will see a list of sections. On this page, you need to click on the Global Options link, and it will take you to a different section tab. In that tab, you need to click on the Global Options tab again to expand it.
This will expand the tab and you will see a bunch of options to show and hide in the WordPress admin area. You need to check the boxes next to 'Display Options'.
The plugin allows you to disable it for all users as well as selected user roles.
Once you're done, don't forget to click the update options button to save your settings.
You can now visit any page in the admin area that displayed the Screen Options button, such as the dashboard or post/page edit screens, and you will notice that the Screen Options button is now disabled.
Adminimize is a really powerful plugin that allows you to completely change the WordPress admin area by selectively showing or hiding different elements. For more details, check out our article on how to hide unnecessary elements from the WordPress admin area with Adminimize.
This method requires you to add code to your WordPress files. If you haven't done this before, then check out our guide on how to copy and paste code into WordPress.
You will need to add the following code to your WordPress theme.php functions file or a site-specific plugin.
función wpb_remove_screen_options () if (! current_user_can ('manage_options')) return false; devuelve true; add_filter ('screen_options_show_screen', 'wpb_remove_screen_options');
This code removes the screen options button for all users except administrators.
You can now switch to any other user account that is not an administrator. After that, visit the admin panel screen of your admin area and you will see the Screen Options button has disappeared.
We hope this article helped you learn how to easily disable the screen options button in WordPress. You may also want to check out our mega list of the most useful WordPress tips, tricks, and hacks for beginners.
If you enjoyed this article, please subscribe to our WordPress YouTube Channel video tutorials. You can also find us on Twitter and Facebook.