Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JimmyHowe/6a1313e53ade39efb56ba4255039e9cc to your computer and use it in GitHub Desktop.
Save JimmyHowe/6a1313e53ade39efb56ba4255039e9cc to your computer and use it in GitHub Desktop.
<?php
use Elementor\Controls_Manager;
use Elementor\Group_Control_Typography;
use Elementor\Widget_Base;
if ( ! defined('ABSPATH') )
{
exit; // Exit if accessed directly.
}
class JHDC_Elementor_WithLove_Widget extends Widget_Base
{
public function get_name()
{
return 'jhdc-branding-withlove';
}
public function get_title()
{
return __('With Love', 'jhdc-branding-elementor-extension');
}
public function get_icon()
{
return 'fa fa-heart';
}
public function get_categories()
{
return [ 'basic' ];
}
protected function _register_controls()
{
// Setting up the controls
}
protected function render()
{
// Intital render
}
protected function _content_template()
{
// Live update
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment