I am trying to create a widget plugin but i am having some errors in the code as i have been following the steps going through this tutorial Create widget plugin . This is the code where i am having issues .
class ne_blog_plugin extends WP_Widget {
function ne_blog_plugin() {
parent::WP_Widget(false, $widget_name = __(‘neblog Widget’, ‘wp_widget_plugin’) );
}
function form($instance) {
if( $instance) {
$text = esc_attr($instance[‘text’]);
$textarea = esc_textarea($instance[‘textarea’]);
} else {
$text = ‘’;
$textarea = ‘’;
}
?>