Title: Global Disable/Enable Sidebar Plugin
Last modified: August 19, 2016

---

# Global Disable/Enable Sidebar Plugin

 *  [gs_s](https://wordpress.org/support/users/gs_s/)
 * (@gs_s)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/global-disableenable-sidebar-plugin/)
 * Hello,
 * I’ve searched on the web and could not find a plugin which can toggle enble/disable
   sidebar appearance on a whole WordPress web site.
 * I’ve found some workaround to comment out the line `get_sidebar();` or empty 
   out the sidebar.php. But this way I have to edit the theme every time I install
   and activate a different theme.
 * So I’m really looking for a plugin which can control global sidebar settings.
   If anybody knows something about it, please let me know. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Dan Bissonnet](https://wordpress.org/support/users/asinglehumanbeing/)
 * (@asinglehumanbeing)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/global-disableenable-sidebar-plugin/#post-1669328)
 * Unfortunately it’s not possible to globally disable all sidebars in all themes
   without hacking the core files. When `get_sidebar()` is called, WordPress will
   always try to load a sidebar template, either from the current theme or `wp-includes/
   theme-compat/sidebar.php` if that fails.
 * Of course, you can disable any widgets in the usual way if the theme is widgetized,
   but that may still leave empty mark-up on the page where the widget area is.
 *  Thread Starter [gs_s](https://wordpress.org/support/users/gs_s/)
 * (@gs_s)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/global-disableenable-sidebar-plugin/#post-1669344)
 * I see. I’ll go with the workarounds then.
 * Thanks anyways, for taking time for the response.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Global Disable/Enable Sidebar Plugin’ is closed to new replies.

## Tags

 * [sidebar plugin](https://wordpress.org/support/topic-tag/sidebar-plugin/)

 * 2 replies
 * 2 participants
 * Last reply from: [gs_s](https://wordpress.org/support/users/gs_s/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/global-disableenable-sidebar-plugin/#post-1669344)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
