start_controls_section( 'coming_soon', [ 'label' => esc_html__( 'Thinkai Coming Soon', 'thinkai' ), ] ); //BG img $this->add_control( 'bg_image', [ 'label' => __( 'BG Image', 'thinkai' ), 'type' => Controls_Manager::MEDIA, 'default' => ['url' => Utils::get_placeholder_image_src(),], ] ); //Title $this->add_control( 'title', [ 'label' => __( 'Title', 'thinkai' ), 'label_block' => true, 'type' => Controls_Manager::TEXT, 'dynamic' => [ 'active' => true, ], 'default' => esc_html__( 'We are Coming Soon...', 'thinkai' ), ] ); //Counter Value $this->add_control( 'counter_value', [ 'label' => __( 'Coming Soon Counter Value', 'thinkai' ), 'label_block' => true, 'type' => Controls_Manager::TEXT, 'dynamic' => [ 'active' => true, ], 'default' => esc_html__( '2025/12/31', 'thinkai' ), ] ); //text $this->add_control( 'text', [ 'label' => __( 'Description', 'thinkai' ), 'label_block' => true, 'type' => Controls_Manager::TEXTAREA, 'dynamic' => [ 'active' => true, ], 'default' => esc_html__( 'Enter You Description', 'thinkai' ), ] ); //MailChimp Form Url $this->add_control( 'mailchimp_form_url_v2', [ 'label' => __( 'Maichimp Form Url', 'thinkai' ), 'label_block' => true, 'type' => Controls_Manager::TEXT, 'dynamic' => [ 'active' => true, ], 'default' => esc_html__( '[mc4wp_form id=44]', 'thinkai' ), ] ); $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'); ?>