Solved it.. copied the class to functions.php
renamed the class and used this call
function wpmic_register_custom_widgets() {
register_widget( ‘mic_WP_Widget_Recent_Posts’ );
}
add_action( ‘widgets_init’, ‘wpmic_register_custom_widgets’ );
Solved it.. copied the class to functions.php
renamed the class and used this call
function wpmic_register_custom_widgets() {
register_widget( ‘mic_WP_Widget_Recent_Posts’ );
}
add_action( ‘widgets_init’, ‘wpmic_register_custom_widgets’ );