start_controls_section( 'abcbiz-elementor-bread-crumb', [ 'label' => esc_html__( 'Alignment', 'abcbiz-addons' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); //Alignment $this->add_responsive_control( 'abcbiz_elementor_bread_crumb_align', [ 'label' => esc_html__( 'Alignment', 'abcbiz-addons'), 'type' => Controls_Manager::CHOOSE, 'default' => 'center', 'options' => [ 'left' => [ 'title' => esc_html__( 'Left', 'abcbiz-addons' ), 'icon' => 'eicon-text-align-left', ], 'center' => [ 'title' => esc_html__( 'Center', 'abcbiz-addons' ), 'icon' => 'eicon-text-align-center', ], 'right' => [ 'title' => esc_html__( 'Right', 'abcbiz-addons' ), 'icon' => 'eicon-text-align-right', ], ], 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-bread-crumb-area' => 'text-align: {{VALUE}}', ], ] ); $this->end_controls_section(); //abc section title style $this->start_controls_section( 'abcbiz_elementor_bread_crumb_style', [ 'label' => esc_html__('Crumb Style', 'abcbiz-addons'), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_control( 'abcbiz_elementor_bread_crumb_text_color', [ 'label' => esc_html__( 'Text Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#bbbcbd', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-bread-crumb-area' => 'color: {{VALUE}}', ], ] ); $this->add_control( 'abcbiz_elementor_bread_crumb_link_color', [ 'label' => esc_html__( 'Link Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#bbbcbd', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-bread-crumb-area a' => 'color: {{VALUE}}', ], ] ); $this->add_control( 'abcbiz_elementor_bread_crumb_link_hover_color', [ 'label' => esc_html__( 'Link Hover Color', 'abcbiz-addons' ), 'type' => Controls_Manager::COLOR, 'default' => '#5D5AED', 'selectors' => [ '{{WRAPPER}} .abcbiz-elementor-bread-crumb-area a:hover' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( Group_Control_Typography::get_type(), [ 'name' => 'abcbiz_elementor_bread_crumb_typography', 'label' => esc_html__( 'Typography', 'abcbiz-addons' ), 'selector' => '{{WRAPPER}} .abcbiz-elementor-bread-crumb-area', ] ); //end of breadcrumb style $this->end_controls_section(); } /** * Render the widget output on the frontend. */ protected function render() { //load render view to show widget output on frontend/website. include 'renderview.php'; } }