start_controls_section( 'about_us_1_content', [ 'label' => __( 'About Us 1', 'ai-elementor' ), ] ); $this->add_control( 'image', [ 'label' => __( 'Image', 'plugin-domain' ), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => \Elementor\Utils::get_placeholder_image_src(), ], ] ); $this->add_control( 'title_hlt', [ 'label' => __( 'Highlight Text', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => 'We are the experts you exactly need', ] ); $this->add_control( 'title', [ 'label' => __( 'Title', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => 'We are a Machine Learning Consulting Firm Experienced in AI', ] ); $this->add_control( 'description', [ 'label' => __( 'Description', 'ai-elementor' ), 'type' => Controls_Manager::TEXTAREA, 'rows' => 10, 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Suscipit eum illum tempora? Ducimus eum culpa voluptates dolorem dolorum et sit nisi, mollitia animi porro fuga sequi, molestias repellat excepturi nobis eum culpa voluptates dolorem dolorum et Ducimus eum culpa voluptates dolorem dolorum et sit nisi, mollitia animi porro fuga sequi.', ] ); $repeater = new \Elementor\Repeater(); $repeater->add_control( 'feature_text', [ 'label' => __( 'Feature Text', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => __( 'Insert feature text here' , 'ai-elementor' ), 'label_block' => true, ] ); $this->add_control( 'feature_items', [ 'label' => __( 'Feature Items', 'ai-elementor' ), 'type' => Controls_Manager::REPEATER, 'fields' => $repeater->get_controls(), 'default' => [ [ 'feature_text' => __( 'Managed Sucre Backups', 'ai-elementor' ), ], [ 'feature_text' => __( 'Advanced Caching', 'ai-elementor' ), ], ], 'title_field' => '{{{ feature_text }}}', ] ); $this->end_controls_section(); $this->start_controls_section( 'about_us_2_content', [ 'label' => __( 'About Us 2', 'ai-elementor' ), ] ); $this->add_control( 'title_hlt_two', [ 'label' => __( 'Highlight Text', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => 'New problems need Creative and unusual Solutions', ] ); $this->add_control( 'title_two', [ 'label' => __( 'Title', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => 'Apply AI, Deep Learning and Data Sciece to solve Business Problems', ] ); $this->add_control( 'description_two', [ 'label' => __( 'Description', 'ai-elementor' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Suscipit eum illum tempora? Ducimus eum culpa voluptates dolorem dolorum et sit nisi, mollitia voluptates dolorem dolorum et.', ] ); $repeater = new \Elementor\Repeater(); $repeater->add_control( 'feature_text_two', [ 'label' => __( 'Feature Text', 'ai-elementor' ), 'type' => Controls_Manager::TEXT, 'default' => __( 'Insert feature text here' , 'ai-elementor' ), 'label_block' => true, ] ); $repeater->add_control( 'feature_content', [ 'label' => __( 'Feature Text', 'ai-elementor' ), 'type' => Controls_Manager::TEXTAREA, 'default' => __( 'Insert feature content here' , 'ai-elementor' ), 'label_block' => false, ] ); $this->add_control( 'feature_two_items', [ 'label' => __( 'Feature Items', 'ai-elementor' ), 'type' => Controls_Manager::REPEATER, 'fields' => $repeater->get_controls(), 'default' => [ [ 'feature_text_two' => __( 'Powerfull Mobile And Online App', 'ai-elementor' ), 'feature_content' => __( 'Lorem ipsum dolor sit amet, conse ctetur dolor adipisicing elit alias officia aperiam.', 'ai-elementor' ), ], [ 'feature_text_two' => __( 'Brings More Transparency And Speed', 'ai-elementor' ), 'feature_content' => __( 'Lorem ipsum dolor sit amet, conse ctetur dolor adipisicing elit alias officia aperiam.', 'ai-elementor' ), ], ], 'title_field' => '{{{ feature_text_two }}}', ] ); $this->add_control( 'image_two', [ 'label' => __( 'Image', 'ai-elementor' ), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => \Elementor\Utils::get_placeholder_image_src(), ], ] ); $this->end_controls_section(); $this->start_controls_section( 'about_us_style', [ 'label' => __( 'Style', 'ai-elementor' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_control( 'bg_color', [ 'label' => __( 'Section Color', 'ai-elementor' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .check-mark-icon-font' => 'color: {{VALUE}}', '{{WRAPPER}} .icon-font-box i' => 'color: {{VALUE}}', '{{WRAPPER}} .icon-font-box' => 'border: 2px solid {{VALUE}}', ], ] ); $this->end_controls_section(); } /** * Render the widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 * * @access protected */ protected function render() { $settings = $this->get_settings_for_display(); ?>

$item ) : ?>