__('Full size banner widget (266 px)', 'gdl_back_office'))); } // Output of the widget function widget($args, $instance) { global $wpdb; extract( $args ); $title = apply_filters( 'widget_title', $instance['title'] ); $image = apply_filters( 'widget_title', $instance['image'] ); $link = apply_filters( 'widget_title', $instance['link'] ); echo $before_widget; // Open of title tag if ( $title ){ echo $before_title . $title . $after_title; echo '
'; } echo ' '; // 1-1 Banner Widget echo $after_widget; } // Widget Form function form($instance) { if ( $instance ) { $title = esc_attr( $instance[ 'title' ] ); $image = esc_attr( $instance[ 'image' ] ); $link = esc_attr( $instance[ 'link' ] ); } else { $title = ''; $image = ''; $link = ''; } ?>