• I made a child theme of the twentyeleven with a couple new sidebars for widgets.

    Now the widget pane behaves weird: whenever I drag a widget into a sidebar, it opens and then instantly closes (hiding all its options and leaving only the save button). When I click “save” it opens again and behaves normally.

    Pretty much the only code I added was the following to index.php:

    <?php if ( is_active_sidebar( ‘sticky’ )) { dynamic_sidebar( ‘sticky’ ); } ?>

    and the following to functions.php:

    register_sidebar( array(
    ‘name’ => __( ‘Sticky widget’, ‘twentyeleven-academic’ ),
    ‘id’ => ‘sticky’,
    ‘description’ => __( ‘A widget area above your posts’, ‘twentyeleven-academic’ ),
    ‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</aside>’,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );
    ?>

  • The topic ‘Widget panel slightly broken’ is closed to new replies.