__( 'Apple', 'aw_elementor' ), 'behance' => __( 'Behance', 'aw_elementor' ), 'bitbucket' => __( 'BitBucket', 'aw_elementor' ), 'codepen' => __( 'CodePen', 'aw_elementor' ), 'delicious' => __( 'Delicious', 'aw_elementor' ), 'deviantart' => __( 'DeviantArt', 'aw_elementor' ), 'digg' => __( 'Digg', 'aw_elementor' ), 'dribbble' => __( 'Dribbble', 'aw_elementor' ), 'email' => __( 'Email', 'aw_elementor' ), 'facebook' => __( 'Facebook', 'aw_elementor' ), 'flickr' => __( 'Flicker', 'aw_elementor' ), 'foursquare' => __( 'FourSquare', 'aw_elementor' ), 'github' => __( 'Github', 'aw_elementor' ), 'houzz' => __( 'Houzz', 'aw_elementor' ), 'instagram' => __( 'Instagram', 'aw_elementor' ), 'jsfiddle' => __( 'JS Fiddle', 'aw_elementor' ), 'linkedin' => __( 'LinkedIn', 'aw_elementor' ), 'medium' => __( 'Medium', 'aw_elementor' ), 'pinterest' => __( 'Pinterest', 'aw_elementor' ), 'product-hunt' => __( 'Product Hunt', 'aw_elementor' ), 'reddit' => __( 'Reddit', 'aw_elementor' ), 'slideshare' => __( 'Slide Share', 'aw_elementor' ), 'snapchat' => __( 'Snapchat', 'aw_elementor' ), 'soundcloud' => __( 'SoundCloud', 'aw_elementor' ), 'spotify' => __( 'Spotify', 'aw_elementor' ), 'stack-overflow' => __( 'StackOverflow', 'aw_elementor' ), 'tripadvisor' => __( 'TripAdvisor', 'aw_elementor' ), 'tumblr' => __( 'Tumblr', 'aw_elementor' ), 'twitch' => __( 'Twitch', 'aw_elementor' ), 'twitter' => __( 'Twitter', 'aw_elementor' ), 'vimeo' => __( 'Vimeo', 'aw_elementor' ), 'vk' => __( 'VK', 'aw_elementor' ), 'website' => __( 'Website', 'aw_elementor' ), 'whatsapp' => __( 'WhatsApp', 'aw_elementor' ), 'wordpress' => __( 'WordPress', 'aw_elementor' ), 'xing' => __( 'Xing', 'aw_elementor' ), 'yelp' => __( 'Yelp', 'aw_elementor' ), 'youtube' => __( 'YouTube', 'aw_elementor' ), ]; } protected function _register_controls() { $this->start_controls_section( '_section_info', [ 'label' => __( 'Gallery', ' aw_elementor' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); /*------------------------------------- Visual Style -------------------------------------*/ $this->add_control( 'style', [ 'label' => __( 'Visual Style', ' aw_elementor' ), 'type' => Controls_Manager::SELECT, 'default' => 'style1', 'options' => [ 'style1' => __( 'Style 1', ' aw_elementor' ), ], ] ); $this->add_control( 'effect', [ 'label' => __( 'Effects', ' aw_elementor' ), 'type' => Controls_Manager::SELECT, 'default' => 'effect1', 'options' => [ 'effect1' => __( 'Effect 1', ' aw_elementor' ), 'effect2' => __( 'Effect 2', ' aw_elementor' ), 'effect3' => __( 'Effect 3', ' aw_elementor' ), 'effect4' => __( 'Effect 4', ' aw_elementor' ), 'effect5' => __( 'Effect 5', ' aw_elementor' ), 'effect6' => __( 'Effect 6', ' aw_elementor' ), 'effect7' => __( 'Effect 7', ' aw_elementor' ), 'effect8' => __( 'Effect 8', ' aw_elementor' ), 'effect9' => __( 'Effect 9', ' aw_elementor' ), 'effect10' => __( 'Effect 10', ' aw_elementor' ), 'effect11' => __( 'Effect 11', ' aw_elementor' ), 'effect12' => __( 'Effect 12', ' aw_elementor' ), 'effect13' => __( 'Effect 13', ' aw_elementor' ), 'effect14' => __( 'Effect 14', ' aw_elementor' ), 'effect15' => __( 'Effect 15', ' aw_elementor' ), 'effect16' => __( 'Effect 16', ' aw_elementor' ), 'effect17' => __( 'Effect 17', ' aw_elementor' ), 'effect18' => __( 'Effect 18', ' aw_elementor' ), 'effect19' => __( 'Effect 19', ' aw_elementor' ), 'effect20' => __( 'Effect 20', ' aw_elementor' ), 'effect21' => __( 'Effect 21', ' aw_elementor' ), 'effect22' => __( 'Effect 22', ' aw_elementor' ), 'effect23' => __( 'Effect 23', ' aw_elementor' ), 'effect24' => __( 'Effect 24', ' aw_elementor' ), 'effect25' => __( 'Effect 25', ' aw_elementor' ), 'effect26' => __( 'Effect 26', ' aw_elementor' ), 'effect27' => __( 'Effect 27', ' aw_elementor' ), ], ] ); $this->add_control( 'gallery', [ 'label' => __( 'Add Images', 'plugin-domain' ), 'type' => Controls_Manager::GALLERY, 'default' => [], ] ); $this->end_controls_section(); $this->start_controls_section( '_section_style_common', [ 'label' => __( 'Common Style', ' aw_elementor' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'padding', [ 'label' => __( 'Padding', ' aw_elementor'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%'], 'selectors' => [ '{{WRAPPER}} .bage-section' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'margin', [ 'label' => __( 'Margin', ' aw_elementor'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%'], 'selectors' => [ '{{WRAPPER}} .bage-section' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'p_background', 'label' => __( 'Background Color', ' aw_elementor' ), 'types' => [ 'classic', 'gradient'], 'selector' => '{{WRAPPER}} .badge::before', 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->add_group_control( Group_Control_Border:: get_type(), [ 'name' => 'links_border', 'selector' => '{{WRAPPER}} .badge::before', 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->add_responsive_control( 'border_radius', [ 'label' => __( 'Border Radius', ' aw_elementor' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', '%' ], 'selectors' => [ '{{WRAPPER}} .badge::before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->end_controls_section(); $this->start_controls_section( '_section_style_middle', [ 'label' => __( 'Middle Section Style', ' aw_elementor' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_group_control( Group_Control_Typography:: get_type(), [ 'name' => 'middle_typography', 'selector' => '{{WRAPPER}} .badge span', 'scheme' => Scheme_Typography::TYPOGRAPHY_2, ] ); $this->add_control( 'middle_color', [ 'label' => __( 'Text Color', 'aw_elementor' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .badge span' => 'color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'padding_middle', [ 'label' => __( 'Padding', ' aw_elementor'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%'], 'selectors' => [ '{{WRAPPER}} .badge span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_responsive_control( 'margin_middle', [ 'label' => __( 'Margin', ' aw_elementor'), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', 'em', '%'], 'selectors' => [ '{{WRAPPER}} .badge span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], ] ); $this->add_group_control( Group_Control_Background::get_type(), [ 'name' => 'p_background_middle', 'label' => __( 'Background Color', ' aw_elementor' ), 'types' => [ 'classic', 'gradient'], 'selector' => '{{WRAPPER}} .badge span', 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->add_group_control( Group_Control_Border:: get_type(), [ 'name' => 'links_border_middle', 'selector' => '{{WRAPPER}} .badge span', 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->add_responsive_control( 'border_radius_middle', [ 'label' => __( 'Border Radius', ' aw_elementor' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => [ 'px', '%' ], 'selectors' => [ '{{WRAPPER}} .badge span' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'condition' => [ 'style' => [ 'style1'], ], ] ); $this->end_controls_section(); } protected function render() { require AWE_PATH . '/modules/gallery/template/view.php'; } // protected function _content_template() { // require AWE_PATH . '/modules/gallery/template/content-template.php'; // } }