WordPress.org

Support

Support » How-To and Troubleshooting » Widget disappear and scale

Widget disappear and scale

  • Hi all!
    I have follow a tutorial to make a widgets-ready footer on my blog. This works except for one thing: I had another sidebar widget in the theme and this seems to get in conflict. When adding a widget to any sidebar and then reloading, the first sidebar (the one that came with the theme) lose all of its widgets and the ones in the other sidebars, scale up. Here’s the code in the functions.php file, hope that someone could help me.

    if(function_exists('register_sidebar'))
        register_sidebar(array(
            'name' => 'Right Column',
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
      )  );
    
    register_sidebars(5,array(
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '<h4>',
            'after_title' => '</h4>',
          )
    );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Widget disappear and scale’ is closed to new replies.
Skip to toolbar