Current File : /home/bravrvjk/cepurhuye.rw/wp-content/plugins/bopea-function/block//custom-sg-meta.php
<?php
namespace bopeaElementor\Widgets;
use Elementor\Widget_Base;
use Elementor\Controls_Manager;
use Elementor\Group_Control_Image_Size;
use Elementor\Group_Control_Typography;
use Elementor\Schemes\Color;
use Elementor\Schemes\Typography;
use Elementor\Utils;
use Elementor\Control_Media;
use Elementor\Group_Control_Border;
use Elementor\Group_Control_Box_Shadow;
use Elementor\Group_Control_Text_Shadow;
use Elementor\Group_Control_Background;
use Elementor\Repeater;
use Elementor\Icons_Manager;
defined('ABSPATH') || die();
class bopea_single_meta extends Widget_Base {
public function get_name() {
return 'bopea-single-meta';
}
public function get_title() {
return esc_html__( 'Single post meta', 'bopea-function' );
}
public function get_icon() {
return 'eicon-elementor-circle jl-icons';
}
public function get_categories() {
return [ 'bopea-elements-head' ];
}
protected function register_controls() {
$this->start_controls_section(
'text_elements',
[
'label' => __( 'Single post meta', 'bopea-function' ),
]
);
$this->end_controls_section();
}
protected function render( ) {
$settings = $this->get_settings_for_display();
?>
<div class="jlemw">
<div class="jl_mt_wrap">
<?php bopea_single_meta_list(get_the_ID()); ?>
<?php bopea_sh_top(get_the_ID()); ?>
</div>
</div>
<?php
}
}