The MU forums have moved to WordPress.org

How do I disable one default widget? (4 posts)

  1. italways
    Member
    Posted 16 years ago #

    How do I disable one default widget? e.g. widget "Meta"

    thanks!

  2. lunabyte
    Member
    Posted 16 years ago #

    Comment it out in the source.

  3. infoclipper
    Member
    Posted 16 years ago #

    If you are concerned about overwriting your changes when you update your source, you can also create a plugin which does something like:

    function my_unregister_widgets() {
        wp_unregister_sidebar_widget('meta');
    };
    add_action( 'widgets_init', 'my_unregister_widgets');
  4. italways
    Member
    Posted 16 years ago #

    thanks a lot!

About this Topic

  • Started 16 years ago by italways
  • Latest reply from italways