Title: Disable widget
Last modified: August 19, 2016

---

# Disable widget

 *  [Vortex Radar](https://wordpress.org/support/users/ariel-b/)
 * (@ariel-b)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/disable-widget/)
 * My theme has widget support, but when I enabled a widget, it broke my sidebar
   altogether. I had to go in and manually edit the theme to disable widget support
   completely.
 * WordPress still says it’s enabled in the admin page, but it doesn’t show up b/
   c the theme is no longer widget compatible.
 * How do I disable widgets in 2.7?

Viewing 1 replies (of 1 total)

 *  [shane-g](https://wordpress.org/support/users/shane-g/)
 * (@shane-g)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/disable-widget/#post-1023782)
 * Hi,
    There should be some code in functions.php like:
 * <?php
    if ( function_exists(‘register_sidebar’) ) register_sidebar(array( ‘before_widget’
   => ”, ‘after_widget’ => ”, ‘before_title’ => ‘<div class=”title”>’, ‘after_title’
   => ‘</div>’, )); ?>
 * Please remove that which will disable the theme from widgetizing.
 * [http://codex.wordpress.org/Widgetizing_Themes](http://codex.wordpress.org/Widgetizing_Themes)
 * Thanks,
 * Shane G.

Viewing 1 replies (of 1 total)

The topic ‘Disable widget’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [shane-g](https://wordpress.org/support/users/shane-g/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/disable-widget/#post-1023782)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
