Changeset 2513199
- Timestamp:
- 04/12/2021 10:15:42 AM (5 years ago)
- Location:
- widgetkits/trunk
- Files:
-
- 3 added
- 4 edited
-
assets/js/editor.js (added)
-
base.php (modified) (4 diffs)
-
extensions (added)
-
extensions/custom-css.php (added)
-
readme.txt (modified) (2 diffs)
-
widgetkits.php (modified) (1 diff)
-
widgets/Button/widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
widgetkits/trunk/base.php
r2513088 r2513199 58 58 add_action( 'elementor/widgets/widgets_registered', [ $this, 'init_widgets' ] ); 59 59 add_action( 'elementor/elements/categories_registered',[$this,'register_new_category']); 60 add_action('elementor/editor/after_enqueue_scripts', [$this, 'widgetkits_editor_scripts_js'], 100); 60 61 add_action( 'wp_enqueue_scripts', array( $this, 'widgetkits_register_frontend_styles' ), 10 ); 61 62 add_action( 'elementor/frontend/before_register_scripts', [ $this, 'widgetkits_register_frontend_scripts' ] ); … … 75 76 76 77 wp_enqueue_script( 77 'widgetkits- js',78 WIGETKITS_ASSETS_PUBLIC .' js/widget.js',78 'widgetkits-sidebar', 79 WIGETKITS_ASSETS_PUBLIC .'/js/sidebar-widget.js', 79 80 array('jquery'), time(), true 80 81 ); … … 82 83 83 84 } 84 85 public function widgetkits_editor_scripts_js(){ 86 87 wp_enqueue_script( 88 'widgetkits-addons-editor', 89 WIGETKITS_ASSETS_PUBLIC .'/js/editor.js', 90 ['jquery'], WIGETKITS_VERSION, true 91 ); 92 } 85 93 86 94 … … 162 170 163 171 $widgets_manager = \Elementor\Plugin::instance()->widgets_manager; 172 /* 173 * Extensions Include 174 */ 175 require_once( WIGETKITS_WIDGET_EXTENSIONS . 'custom-css.php' ); 164 176 177 165 178 166 179 //Include Widget files -
widgetkits/trunk/readme.txt
r2513088 r2513199 2 2 Contributors: msakib 3 3 Donate link: https://themepaw.com/ 4 Tags: Elementor, Elementor Addons, Elementor Widget, Elementor Addon, Elements, Widgetkits,Widget4 Tags: Elementor, Elementor Addons, Elementor Widget, Elementor Addon, Widget 5 5 Requires at least: 4.7 6 6 Tested up to: 5.7 … … 10 10 Stable tag: trunk 11 11 12 WidgetKits For Elementor Helper Plugin And Wordpress Default Sidebar Solution12 WidgetKits For Elementor Helper Plugin 13 13 == Description == 14 14 -
widgetkits/trunk/widgetkits.php
r2513088 r2513199 22 22 define( 'WIGETKITS_WIDGET_INC', plugin_dir_path( __FILE__ ) . 'inc/' ); 23 23 24 // Plugin Extensions Folder Path 25 define( 'WIGETKITS_WIDGET_EXTENSIONS', plugin_dir_path( __FILE__ ) . 'extensions/' ); 26 24 27 // Plugin Widget Folder Path 25 28 define( 'WIGETKITS_WIDGET_DIR', plugin_dir_path( __FILE__ ) . 'widgets/' ); -
widgetkits/trunk/widgets/Button/widget.php
r2513088 r2513199 28 28 29 29 public function get_title() { 30 return __( ' WidgetkitsButton', 'widgetkits' );30 return __( 'Button', 'widgetkits' ); 31 31 } 32 32 … … 38 38 return [ 'widgetkits' ]; 39 39 } 40 41 public function get_keywords() 42 { 43 return ['btn', 'button', 'link', 'widgetkit']; 44 } 40 45 41 46 protected function _register_controls() {
Note: See TracChangeset
for help on using the changeset viewer.