// $title = apply_filters( 'widget_title', $instance['title'] );
// // before and after widget arguments are defined by themes
// echo $args['before_widget'];
// if ( ! empty( $title ) )
// echo $args['before_title'] . $title . $args['after_title'];
// // This is where you run the code and display the output
// echo __( 'Hello, World!', 'simple_search_widget_domain' );
// echo $args['after_widget'];
}
// Widget Backend
public function form( $instance ) {
if ( isset( $instance[ 'title' ] ) ) {
$title = $instance[ 'title' ];
}
else {
$title = __( 'New title', 'simple_search_widget_domain' );
}
// Widget admin form
?>