'aazeen_client_widget', 'description' => __( 'You can add use this widgte in any section or page', 'aazeen-extension' ), 'customize_selective_refresh' => true, ); parent::__construct( 'aazeen_client_widget', __( 'Aazeen - Clients widget', 'aazeen-extension' ), $widget_ops ); $this->alt_option_name = 'aazeen_client_widget'; } /** * Display Widget * * @param $args * @param $instance */ function widget($args, $instance) { extract($args); $carousel = isset( $instance['carousel'] ) ? $instance['carousel'] : array(); $bg_color = isset( $instance['bg_color'] ) ? $instance['bg_color'] : '#fff'; $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; ?>
', $this->get_field_name( 'carousel' ), //1 $customtesti_counter, //2 $this->get_field_id('carousel').'', //3 $this->get_field_id('custom_add_field').'-repeat', //4 //Title esc_url( $cars['title'] ), //5 - Title Value __('URL (Required)','aazeen-extension'), //6 - Title Placeholder //Media !empty($cars['image']) ? '
id="get_field_id( 'fixed_bg' ); ?>" name="get_field_name( 'fixed_bg' ); ?>" />
id="get_field_id( 'new_tab' ); ?>" name="get_field_name( 'new_tab' ); ?>" />