get_prefixed_hook( 'controllers/starts' ), [ & $this ] ); $this->start_controls_section( 'section_content', [ 'label' => esc_html__( 'Template', 'absolute-addons' ) ] ); $testimonial = apply_filters( $this->get_prefixed_hook( 'styles' ), [ 'one' => esc_html__( 'Design Style One', 'absolute-addons' ), 'two' => esc_html__( 'Design Style Two', 'absolute-addons' ), 'three' => esc_html__( 'Design Style Three', 'absolute-addons' ), 'four-pro' => esc_html__( 'Design Style Four Pro', 'absolute-addons' ), 'five' => esc_html__( 'Design Style Five', 'absolute-addons' ), 'six-pro' => esc_html__( 'Design Style Six Pro', 'absolute-addons' ), 'seven-pro' => esc_html__( 'Design Style Seven Pro', 'absolute-addons' ), 'eight-pro' => esc_html__( 'Design Style Eight Pro', 'absolute-addons' ), 'nine-pro' => esc_html__( 'Design Style Nine Pro', 'absolute-addons' ), 'ten' => esc_html__( 'Design Style Ten', 'absolute-addons' ), ] ); $this->add_control( 'absolute_testimonial', [ 'label' => esc_html__( 'Testimonial Style', 'absolute-addons' ), 'label_block' => true, 'type' => Absp_Control_Styles::TYPE, 'options' => $testimonial, 'default' => 'one', ] ); $this->init_pro_alert( [ 'four-pro', 'six-pro', 'seven-pro', 'eight-pro', 'nine-pro', ] ); $this->end_controls_section(); $this->render_controller( 'one' ); $this->render_controller( 'eight' ); $this->render_controller( 'nine' ); $this->render_controller( 'ten' ); $this->render_controller( 'template-testimonial-style' ); /** * Fires after controllers are registered. * * @param Absoluteaddons_Style_Testimonial $this Current instance of WP_Network_Query (passed by reference). * * @since 1.0.0 * */ do_action_ref_array( $this->get_prefixed_hook( 'controllers/ends' ), [ & $this ] ); } /** * Render the widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.1.0 * * @access protected */ protected function render() { $settings = $this->get_settings_for_display(); /** * Testimonial Style One */ $this->add_inline_editing_attributes( 'item_style_one_title' ); $this->add_render_attribute( 'item_style_one_title', 'class', 'testimonial-title' ); $this->add_inline_editing_attributes( 'item_style_one_desig' ); $this->add_render_attribute( 'item_style_one_desig', 'class', 'testimonial-desig' ); $this->add_inline_editing_attributes( 'item_style_one_content' ); $this->add_render_attribute( 'item_style_one_content', 'class', 'testimonial-content' ); ?>
render_template(); ?>