'Sidebar Left', 'before_widget' => '
', 'after_widget' => "
", 'before_title' => "

", 'after_title' => "

\n", )); register_sidebar(array( 'name' => 'Sidebar Right', 'before_widget' => '
', 'after_widget' => "
", 'before_title' => "

", 'after_title' => "

\n", )); // Finished intializing Widgets plugin, now let's load the wphon default widgets $widget_ops = array( 'classname' => 'widget_search', 'description' => "A search form for your blog" ); wp_register_sidebar_widget( 'search', 'Search', 'widget_sandbox_search', $widget_ops ); unregister_widget_control('search'); // We're being wphon-specific; remove WP default wp_register_widget_control( 'search', 'Search', 'widget_sandbox_search_control' ); // wphon Meta widget $widget_ops = array( 'classname' => 'widget_meta', 'description' => "Log in/out and administration links" ); wp_register_sidebar_widget( 'meta', 'Search', 'widget_sandbox_meta', $widget_ops ); unregister_widget_control('meta'); // We're being wphon-specific; remove WP default wp_register_widget_control( 'meta', 'Meta', 'wp_widget_meta_control' ); //wphon RSS Links widget $widget_ops = array( 'classname' => 'widget_rss_links', 'description' => "RSS links for both posts and comments" ); wp_register_sidebar_widget( 'rss_links', 'RSS Links', 'widget_sandbox_rsslinks', $widget_ops ); wp_register_widget_control( 'rss_links', 'RSS Links', 'widget_sandbox_rsslinks_control' ); } // Runs our code at the end to check that everything needed has loaded add_action( 'init', 'sandbox_widgets_init' ); ?>