'
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ')); function unregister_problem_widgets() { unregister_sidebar_widget('search'); unregister_sidebar_widget('tag_cloud'); } add_action('widgets_init','unregister_problem_widgets'); } // Widget: Meta; to match the Sandbox style and replace Widget plugin default function widget_sandbox_meta($args) { extract($args); $options = get_option('widget_meta'); $title = empty($options['title']) ? __( 'Meta', 'sandbox' ) : $options['title']; echo $before_widget; echo $before_title . $title . $after_title; ?> 'widget_meta', 'description' => __( "Log in/out, admin, feed and WordPress links", "sandbox" ) ); wp_register_sidebar_widget( 'meta', __( 'Meta', 'sandbox' ), 'widget_sandbox_meta', $widget_ops ); unregister_widget_control('meta'); wp_register_widget_control( 'meta', __('Meta'), 'wp_widget_meta_control' ); } // Runs our code at the end to check that everything needed has loaded add_action( 'init', 'sandbox_widgets_init' ); //change the tag cloud function widget_cloud($args) { global $wpdb, $post; extract($args); include(TEMPLATEPATH . '/sidebar/tagcloud.php'); } register_sidebar_widget('Tag Cloud', 'widget_cloud'); function menu_separator($input){ $tmp = explode("", $input); array_pop($tmp); $tmp = implode("
  • ",$tmp).""; return $tmp; } ?>