start_controls_section( 'wave_image', [ 'label' => esc_html__( 'Thinkai Wave Image', 'thinkai' ), ] ); $this->add_control( 'layout_control', [ 'label' => esc_html__( 'Layout Style', 'thinkai' ), 'label_block' => true, 'type' => Controls_Manager::SELECT, 'default' => '1', 'options' => array( '1' => esc_html__( 'Style One ', 'thinkai'), '2' => esc_html__( 'Style Two ', 'thinkai'), '3' => esc_html__( 'Style Three ', 'thinkai'), ), ] ); //Wave Img $this->add_control( 'wave_img', [ 'label' => esc_html__( 'Wave Image', 'thinkai' ), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => Utils::get_placeholder_image_src(), ], ] ); $this->end_controls_section(); } /** * Render button 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(); $allowed_tags = wp_kses_allowed_html('post'); ?>
<?php bloginfo( 'name' ); ?>