'two-column-posts ascendoor-widget style-2', 'description' => __( 'Retrive Two Column Posts Widgets', 'authentic-news' ), ); parent::__construct( 'ace_news_two_column_widget', __( 'Ascendoor Two Column Posts Widget', 'authentic-news' ), $ace_news_two_column_posts_widget_ops ); } /** * Front-end display of widget. * * @see WP_Widget::widget() * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget( $args, $instance ) { if ( ! isset( $args['widget_id'] ) ) { $args['widget_id'] = $this->id; } $two_column_posts_offset = isset( $instance['offset'] ) ? absint( $instance['offset'] ) : ''; echo $args['before_widget']; ?>