Last active
September 1, 2019 21:52
-
-
Save JimmyHowe/6a1313e53ade39efb56ba4255039e9cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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