• 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)
  • 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.

    https://codex.www.ads-software.com/Widgetizing_Themes

    Thanks,

    Shane G.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable widget’ is closed to new replies.