<?php
	namespace Elementor;
	class Jobbank_Featured_Widget extends Widget_Base {
		public function get_name() {
			return 'jobbank_featured';
		}
		public function get_title() {
			return esc_html__( 'Featured Listings', 'jobbank' );
		}
		public function get_icon() {
			return 'eicon-post-excerpt';
		}
		public function get_categories() {
			return [ 'jobbank_elements' ];
		}
		protected function register_controls() {
		}
		//Render
		protected function render() {
			$shortcode ="[jobbank_featured]";		
		?>
		<div class="elementor-shortcode"><?php echo do_shortcode( shortcode_unautop( $shortcode ) );  ?></div>
		<?php
		}
	}
Plugin::instance()->widgets_manager->register( new Jobbank_Featured_Widget );