'aazeen_team_widget', 'description' => __( 'You can add use this widgte in any section or page', 'aazeen-extension' ), 'customize_selective_refresh' => true, ); parent::__construct( 'aazeen_team_widget', __( 'Aazeen - Team widget', 'aazeen-extension' ), $widget_ops ); $this->alt_option_name = 'aazeen_team_widget'; } function widget($args, $instance) { extract($args); $bg_color = isset( $instance['bg_color'] ) ? $instance['bg_color'] : '#BCBDD4'; $content_bgimage = isset( $instance['content_bgimage'] ) ? $instance['content_bgimage'] : ''; $new_tab = isset( $instance['new_tab'] ) ? $instance['new_tab'] : false; $fixed_bg = isset( $instance['fixed_bg'] ) ? $instance['fixed_bg'] : false; echo $before_widget; ?> id; ?>
false, 'title' => 'Amazing Team', 'title_color' => '#0a0a0a', 'subtitle_color' => '#747474', 'bg_color' => '#fff', ); $instance = wp_parse_args( (array) $instance, $defaults ); $new_tab = isset( $instance['new_tab'] ) ? (bool) $instance['new_tab'] : false; $fixed_bg = isset( $instance['fixed_bg'] ) ? (bool) $instance['fixed_bg'] : false; ?>
id="get_field_id( 'fixed_bg' ); ?>" name="get_field_name( 'fixed_bg' ); ?>"/>
id="get_field_id( 'new_tab' ); ?>" name="get_field_name( 'new_tab' ); ?>"/>