";
}
}
echo $after_widget;
}
}
// Tell Dynamic Sidebar about our new widget and its control
register_sidebar_widget('Sub Pages', 'subpages');
register_widget_control('Sub Pages', 'subpages_control');
}
// Delay plugin execution to ensure Dynamic Sidebar has a chance to load first
add_action('plugins_loaded', 'subpages_init');
?>