Disable WordPress Widgets

Once upon a time there was a conflict between WordPress 2.2 and the theme, K2. The issue started when Widgets were integrated into the core of WordPress. This move hosed K2′s Sidebar Modules. I created the very simple plugin called, Disable WordPress Widgets — bringing order to the universe again.

That is until: r335 – in trunk/app: classes display includes – K2 Subversion | Google Groups

This elegant little fix essentially wiped out the need for this plugin and its use with K2 in an instant.

I have no idea whether this plugin will be useful to anyone now. Maybe to K2 users that don’t stay current with their theme, but make upgrades to their WordPress installation. I guess I’ll leave it up for a while at Extend › Plugins where it die a quiet, non-downloaded death. And then I’ll have it removed.

Update: As of r336, the need for the plugin is back in play.

Update: As of r480 (Issue 280), K2 now incorporates the code to disable WordPress’ widgets.

Update: For users of WordPress 2.5.x and beyond, this plugin is no longer necessary.

About Schulte

Darrell Schulte knows enough be dangerous, but so far hasn't messed anything up (too badly).
This entry was posted in WordPress and tagged , , , , , . Bookmark the permalink.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

59 Responses to Disable WordPress Widgets

  1. Slowfinger says:

    Hi Darrell, and thanks for this plugin. I have a Disable WordPress Widgets-related problem with my site, hope you can shed some light.

    My site used to be heavily based on Sidebar Modules, with K2 using 3 Column K2 V. 0.9.5.2 (by Bharath Kumar) as current style. As SM began to crash under WordPress 2.1 (see below), I have recently upgraded to WordPress 2.2 and also installed the Disable WordPress Widgets plugin in order for SM to work properly. Unlike upon a previous WP 2.2 install without a subsequent DWW plugin install, the Sidebar Modules plugin can now be properly activated (no fatal error).

    But every time I try to add a new module through the drag-and-drop interface by hitting the Add button, I get shown the theme switcher page back one level up, rather than seeing the new module placed in the chosen sidebar within the d&d interface. As suggested above in Wim’s and related comments, I also have deleted other K2 versions in my themes folder, to no avail though: please notice that Wim’s solution hasn’t worked here in spite of seemingly identical plights.

    Thanks for any hints.

  2. Pingback: ?????Theme K2 V096 & Wordpress 2.2 at Stage 23

  3. Pingback: WP??:Disable WordPress Widgets|??WP???widgets | ?????

  4. kuting says:

    hi! i have a problem. i recently upgraded from wp 2.2. to wp 2.3.1 and installed k2 c3. initially i am able to use the sbm but then all of sudden it jsut shows the loading word. i tried installing your plugin and then suprisingly, the sbm works again. but after some time while im customizing my blog, i got the error again for jsut seeing the loading word when i click sbm. i tried deactivting your plugin and activating it again but still the same. got an idea what my problem is? thanks

  5. Philix says:

    This is a great plug in :)

  6. Jeff says:

    I’m using SBM Reloaded with WP 2.6. Thanks for your plug that allows that to happen.

    However, it’s also messing up the WP Admin Dashboard where I get this error: Fatal error: Call to undefined function: register_sidebar() in /home/montlive/public_html/new/wp-admin/includes/dashboard.php on line 13

    Is there a workaround for this? I much prefer SBM Reloaded to the widget system in 2.5+. It allows unlimited text widgets, php, etc.

    Any help would be HUGELY appreciated.

  7. Jeff says:

    Any word on a fix for SBM?

  8. Had some trouble on our accommodation booking website with your plugin. It’s necessary, because we are using the k2 sidebar manager, and worked fine until today. I couldn’t enable any plugin – white screen appearing at every click of the admin screen when after activating – I came out of this unhappy situation disabling the plugin Disable WordPress Widgets, enable all the other plugins, and then enable again Disable WordPress Widgets.
    Now everything works right. Hope this can help if you ever find yourself stuck in the very same situation!

  9. Deepak says:

    Doesn't current updates has those features?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>