start_controls_section(
'section_content',
[
'label' => esc_html__( 'Content', 'amedea' ),
'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
]
);
$this->add_control(
'content',
[
'label' => esc_html__( 'Text', 'amedea' ),
'type' => \Elementor\Controls_Manager::TEXT,
'default' => esc_html__( 'Prague', 'amedea' ),
'placeholder' => esc_html__( 'Type your content here', 'amedea' ),
]
);
$this->end_controls_section();
}
/**
* Render the 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();
//$image = $settings['image'];
//$style = $settings['style'];
?>