startControlsSection( 'section_text', [ 'label' => __('Treść'), ] ); $this->addControl( 'header', [ 'label' => __('Nagłówek'), 'type' => ControlsManager::TEXT, 'default' => 'Simple Blog', ] ); $this->endControlsSection(); // --- $this->startControlsSection( 'section_style', [ 'label' => __('Text Editor'), 'tab' => ControlsManager::TAB_STYLE, ] ); $this->addControl( 'post_data_color', [ 'label' => __('Article data color'), 'type' => ControlsManager::COLOR, 'selectors' => [ '{{WRAPPER}} .post-added' => 'color: {{VALUE}};', ], ] ); $this->addGroupControl( GroupControlTypography::getType(), [ 'label' => __('Article data czcionka'), 'name' => 'label_typography', 'selector' => '{{WRAPPER}} .post-added', ] ); $this->endControlsSection(); } /** * Render video widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 */ protected function render() { $settings = $this->getSettingsForDisplay(); ?>

executeS($sql); if ( is_array( $results ) ) : ?>