'blogostrap_class_separator', 'description' => __( 'Add a simple separator inside sidebar.', 'blogostrap' ), ); parent::__construct( 'blogostrap_separator', __( 'Blogostrap Separator', 'blogostrap' ), $widget_ops ); } /** * Outputs the content of the widget * * @param array $args * @param array $instance */ public function widget( $args, $instance ) { // outputs the content of the widget echo $args['before_widget']; if ( ! empty( $instance['title'] ) ) { echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; } echo '