Changeset 2513088
- Timestamp:
- 04/12/2021 07:09:00 AM (5 years ago)
- Location:
- widgetkits/trunk
- Files:
-
- 12 added
- 4 deleted
- 4 edited
-
assets/css/widget-style.css (modified) (2 diffs)
-
assets/js/sidebar-widget.js (added)
-
assets/js/widget.js (modified) (1 diff)
-
base.php (added)
-
inc/Clasess (added)
-
inc/Clasess/class-widgetkits-about.php (added)
-
inc/Clasess/class-widgetkits-recent-post.php (added)
-
inc/Clasess/class-widgetkits-socail.php (added)
-
inc/function.php (deleted)
-
inc/helper-function.php (added)
-
inc/sidebar-widget-file.php (added)
-
readme.txt (modified) (2 diffs)
-
widgetkits.php (modified) (2 diffs)
-
widgets/Button (added)
-
widgets/Button/widget.php (added)
-
widgets/CustomCss (added)
-
widgets/CustomCss/widget.php (added)
-
widgets/class-widgetkits-about.php (deleted)
-
widgets/class-widgetkits-recent-post.php (deleted)
-
widgets/class-widgetkits-socail.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
widgetkits/trunk/assets/css/widget-style.css
r2323460 r2513088 1 /*--------------------------------------------------------------============================================================ 2 /*============================== 3 [Table of contents] 4 5 WIDGET STYLESHEET 6 ---------------------------------- 7 BUTTON 8 SIDEBAR WIDGET 9 10 =============================================================--------------------------------------------------------------*/ 11 12 /*--------------------------------------------------- 13 BUTTON 14 ----------------------------------------------------*/ 15 .widgetkits-button { 16 display: inline-block; 17 position: relative; 18 overflow: hidden; 19 cursor: pointer; 20 -webkit-transition: all 0.4s ease-in-out !important; 21 -moz-transition: all 0.4s ease-in-out !important; 22 -ms-transition: all 0.4s ease-in-out !important; 23 -o-transition: all 0.4s ease-in-out !important; 24 transition: all 0.4s ease-in-out !important; 25 } 26 a.widgetkits-button{ 27 -webkit-transition: all 0.4s ease-in-out !important; 28 -moz-transition: all 0.4s ease-in-out !important; 29 -ms-transition: all 0.4s ease-in-out !important; 30 -o-transition: all 0.4s ease-in-out !important; 31 transition: all 0.4s ease-in-out !important; 32 } 33 .widgetkits-button-sm { 34 padding: 10px 21px 10px 21px; 35 font-size: 13px; 36 line-height: 1; 37 } 38 .widgetkits-button-md { 39 padding: 14px 22px 14px 22px; 40 font-size: 14px; 41 line-height: 1.2; 42 } 43 .widgetkits-button-lg { 44 padding: 18px 40px 18px 40px; 45 font-size: 14px; 46 line-height: 1.3333; 47 } 48 .widgetkits-button-ex { 49 padding: 23px 40px 23px 40px; 50 font-size: 15px; 51 line-height: 1.3333; 52 } 53 .widgetkits-button-block { 54 font-size: 15px; 55 line-height: 1; 56 padding: 14px 22px 14px 22px; 57 width: 100%; 58 text-align: center; 59 } 60 .widgetkits-button-text { 61 display: inline-block; 62 width: 100%; 63 } 64 65 .widgetkits-button{ 66 display: flex; 67 align-items: center; 68 justify-content: center; 69 display: inline-block; 70 font-weight: 400; 71 } 72 .widgetkits-button-style1-bottom, 73 .widgetkits-button-style1-top, 74 .widgetkits-button-style1-right, 75 .widgetkits-button-style1-left, 76 .widgetkits-button-style2-shutouthor, 77 .widgetkits-button-style2-shutoutver, 78 .widgetkits-button-style2-shutinhor, 79 .widgetkits-button-style2-shutinver, 80 .widgetkits-button-style2-scshutouthor, 81 .widgetkits-button-style2-scshutoutver, 82 .widgetkits-button-style2-dshutinhor, 83 .widgetkits-button-style2-dshutinver, 84 .widgetkits-button-style3-radialin, 85 .widgetkits-button-style3-radialout, 86 .widgetkits-button-style3-rectin, 87 .widgetkits-button-style3-rectout { 88 display: inline-block; 89 vertical-align: middle; 90 -webkit-transform: perspective(1px) translateZ(0); 91 transform: perspective(1px) translateZ(0); 92 box-shadow: 0 0 1px transparent; 93 position: relative; 94 -webkit-transition-property: color; 95 transition-property: color; 96 -webkit-transition: all 0.3s ease-in-out !important; 97 -moz-transition: all 0.3s ease-in-out !important; 98 -ms-transition: all 0.3s ease-in-out !important; 99 -o-transition: all 0.3s ease-in-out !important; 100 transition: all 0.3s ease-in-out !important; 101 } 102 .widgetkits-button-style1-bottom:before, 103 .widgetkits-button-style1-top:before, 104 .widgetkits-button-style1-right:before, 105 .widgetkits-button-style1-left:before, 106 .widgetkits-button-style2-shutinhor:before, 107 .widgetkits-button-style2-shutinver:before, 108 .widgetkits-button-style2-shutouthor:before, 109 .widgetkits-button-style2-shutoutver:before, 110 .widgetkits-button-style2-scshutouthor:before, 111 .widgetkits-button-style2-scshutoutver:before, 112 .widgetkits-button-style2-dshutinhor:before, 113 .widgetkits-button-style2-dshutinver:before, 114 .widgetkits-button-style3-radialin:before, 115 .widgetkits-button-style3-radialout:before, 116 .widgetkits-button-style3-rectin:before, 117 .widgetkits-button-style3-rectout:before { 118 content: ""; 119 position: absolute; 120 z-index: -1; 121 top: 0; 122 left: 0; 123 right: 0; 124 bottom: 0; 125 -webkit-transform: scaleY(0); 126 transform: scaleY(0); 127 -webkit-transform-origin: 50% 0; 128 transform-origin: 50% 0; 129 -webkit-transition-property: transform; 130 transition-property: transform; 131 -webkit-transition-duration: 0.50s; 132 transition-duration: 0.50s; 133 -webkit-transition-timing-function: ease-out; 134 transition-timing-function: ease-out; 135 } 136 .widgetkits-button-style3-radialin:before, 137 .widgetkits-button-style3-radialout:before { 138 -webkit-transform-origin: 50%; 139 transform-origin: 50%; 140 border-radius: 100%; 141 -webkit-transform: scale(0); 142 transform: scale(0); 143 } 144 .widgetkits-button-style3-radialin:before { 145 -webkit-transform: scale(2); 146 transform: scale(2); 147 } 148 .widgetkits-button-style3-rectin:before, 149 .widgetkits-button-style3-rectout:before { 150 -webkit-transform-origin: 50%; 151 transform-origin: 50%; 152 -webkit-transform: scale(1); 153 transform: scale(1); 154 } 155 .widgetkits-button-style3-rectout:before { 156 -webkit-transform: scale(0); 157 transform: scale(0); 158 } 159 .widgetkits-button-style3-rectout:hover:before { 160 -webkit-transform: scale(1); 161 transform: scale(1); 162 } 163 .widgetkits-button-style3-rectin:hover:before { 164 -webkit-transform: scale(0); 165 transform: scale(0); 166 } 167 .widgetkits-button-style3-radialout:hover:before { 168 -webkit-transform: scale(2); 169 transform: scale(2); 170 } 171 .widgetkits-button-style3-radialin:hover:before { 172 -webkit-transform: scale(0); 173 transform: scale(0); 174 } 175 .widgetkits-button-style1-top:before { 176 -webkit-transform-origin: 50% 100%; 177 transform-origin: 50% 100%; 178 } 179 .widgetkits-button-style1-right:before { 180 -webkit-transform: scaleX(0); 181 transform: scaleX(0); 182 -webkit-transform-origin: 0% 50%; 183 transform-origin: 0% 50%; 184 } 185 .widgetkits-button-style1-left:before { 186 -webkit-transform: scaleX(0); 187 transform: scaleX(0); 188 -webkit-transform-origin: 100% 50%; 189 transform-origin: 100% 50%; 190 } 191 .widgetkits-button-style2-shutouthor:before, 192 .widgetkits-button-style2-scshutoutver:before{ 193 -webkit-transform: scaleY(0); 194 transform: scaleY(0); 195 -webkit-transform-origin: 100% 50%; 196 transform-origin: 100% 50%; 197 } 198 .widgetkits-button-style2-shutoutver:before, 199 .widgetkits-button-style2-scshutouthor:before{ 200 -webkit-transform: scaleX(0); 201 transform: scaleX(0); 202 -webkit-transform-origin: 50% 50%; 203 transform-origin: 50% 50%; 204 } 205 .widgetkits-button-style2-shutinhor:before{ 206 -webkit-transform: scaleX(1); 207 transform: scaleX(1); 208 -webkit-transform-origin: 50%; 209 transform-origin: 50%; 210 } 211 .widgetkits-button-style2-shutinver:before{ 212 -webkit-transform: scaleY(1); 213 transform: scaleY(1); 214 -webkit-transform-origin: 50%; 215 transform-origin: 50%; 216 } 217 .widgetkits-button-style1-bottom:hover:before, 218 .widgetkits-button-style1-top:hover:before{ 219 -webkit-transform: scaleY(1); 220 transform: scaleY(1); 221 } 222 .widgetkits-button-style1-left:hover:before, 223 .widgetkits-button-style1-right:hover:before, 224 .widgetkits-button-style2-shutouthor:hover:before, 225 .widgetkits-button-style2-shutoutver:hover:before{ 226 -webkit-transform: scaleX(1); 227 transform: scaleX(1); 228 } 229 .widgetkits-button-style2-shutinhor:hover:before{ 230 -webkit-transform: scaleX(0); 231 transform: scaleX(0); 232 } 233 .widgetkits-button-style2-shutinver:hover:before{ 234 -webkit-transform: scaleY(0); 235 transform: scaleY(0); 236 } 237 .widgetkits-button-style2-scshutouthor:hover:before{ 238 -webkit-transform: scaleX(0.9); 239 transform: scaleX(0.9); 240 } 241 .widgetkits-button-style2-scshutoutver:hover:before{ 242 -webkit-transform: scaleY(0.8); 243 transform: scaleY(0.8); 244 } 245 /*Diagonal*/ 246 .widgetkits-button-style2-dshutinhor:before, 247 .widgetkits-button-style2-dshutinver:before { 248 top: 50%; 249 left: 50%; 250 width: 120%; 251 height: 0%; 252 -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg); 253 transform: translateX(-50%) translateY(-50%) rotate(-45deg); 254 -webkit-transform-origin: 50%; 255 transform-origin: 50%; 256 -webkit-transition-property: all; 257 transition-property: all; 258 } 259 .widgetkits-button-style2-dshutinver:before { 260 -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg); 261 transform: translateX(-50%) translateY(-50%) rotate(45deg); 262 } 263 .widgetkits-button-style2-dshutinhor:hover:before, 264 .widgetkits-button-style2-dshutinver:hover:before{ 265 height: 220%; 266 } 267 268 269 270 271 1 272 /*common css*/ 2 273 .widget-content > div > *:last-child{ … … 4 275 } 5 276 /*common css end*/ 6 7 8 9 277 .single-repater-title { 10 278 background-color: #FAFAFA; -
widgetkits/trunk/assets/js/widget.js
r2319155 r2513088 1 (function($) {2 "use strict";3 4 $(document).ready(function(){5 6 7 $(document).on('click', '.fa_tb_close', function(e){8 var $self = $(this);9 tb_remove();10 $('.themify_search').val('');11 $('.themify_search').trigger('change');12 });13 14 $(document).on('keyup change', '.themify_search', function() {15 var searchVal = $(this).val();16 var filterItems = $('li.fa_grab_init[data-icon]');17 18 if ( searchVal != '' ) {19 filterItems.addClass('hidden');20 $('li.fa_grab_init[data-icon*="' + searchVal.toLowerCase() + '"]').removeClass('hidden');21 } else {22 filterItems.removeClass('hidden');23 }24 });25 26 $(document).on('click', '.fa_grab_init', function(e){27 e.preventDefault();28 29 var $self = $(this),30 $icon = $self.attr('data-icon'),31 $id = $self.closest('.fa-all-thing-wrapper').attr('input-id');32 33 $self.addClass('active_fa').siblings().removeClass('active_fa');34 if ( "none" == $icon ) {35 $('#'+$id).val('');36 $('#'+$id).prev('.thickbox_special').find('span').html(widgetkitsWLocalize.select_icon);37 } else {38 $('#'+$id).val($icon);39 $('#'+$id).prev('.thickbox_special').find('span').html('<i class="fa '+$icon+'" aria-hidden="true"></i>');40 }41 42 $('.fa_sepcial_wfield').trigger('change');43 44 })45 46 47 $(document).on('click', '.thickbox_special', function(e) {48 e.preventDefault();49 50 var wrap_parent = $(this).closest('.widgetkits-repeater-info-wrapper'),51 data_type = wrap_parent.attr('data-field-id');52 53 if( data_type === "social_links" ) {54 var $self = $(this),55 $all_icons = $('#fa_all_markup_wrap'),56 $fa_markup = $all_icons.find('.fa-all-thing-wrapper'),57 $the_id_el = $(this).next('.fa_append_element'),58 $input = $self.closest('.single-widget-icon-wrapper').find('.fa_sepcial_wfield'),59 $input_id = $input.attr('id'),60 $input_val = $input.val(),61 $the_id = $the_id_el.attr('id');62 63 $the_id_el.append($fa_markup);64 65 tb_show("", "#TB_inline?&width=753&height=700&inlineId="+$the_id+"");66 67 if ( $input_val.length > 0 && "none" != $input_val ) {68 $('.active_fa').removeClass('active_fa');69 $fa_markup.find('li[data-icon="'+$input_val+'"]').addClass('active_fa')70 }71 $('#WK_window').addClass('widgetkits-WK_window');72 $fa_markup.attr('input-id', $input_id).clone().appendTo("#TB_ajaxContent");73 return false;74 } else {75 var $self = $(this),76 $parent = $self.closest('.single-widget-icon-wrapper'),77 $img = $parent.find('img'),78 $remover = $parent.find('.sl-widget-media-remove'),79 $input = $parent.find('.sl_media_input');80 81 var file_frame = wp.media.frames.file_frame = wp.media({82 title: widgetkitsWLocalize.upload,83 library: {84 type: 'image'85 },86 button: {87 text: widgetkitsWLocalize.select_img88 },89 multiple: false90 });91 92 file_frame.on('select', function(){93 var attachment = file_frame.state().get('selection').first().toJSON();94 $input.val(attachment.url);95 if ( $img.length ) {96 $img.attr('src', attachment.url);97 } else {98 $self.before('<div class="repeater-thumb-wrap"><img src="' + attachment.url + '"></div>');99 }100 if ( $remover.length ) {101 $remover.css('display', 'inline-block');102 } else {103 $self.after('<button style="display: inline-block;" class="sl-widget-media-remove button">'+ widgetkitsWLocalize.widgetkitsWLocalize +'</button>');104 }105 $input.trigger('change');106 });107 108 file_frame.open();109 }110 111 });112 113 // jQuery ui sortable init114 $( ".widgetkits-repeater-info" ).sortable({115 stop:function(event, ui) {116 $('.widgetkits_special-wfield').trigger('change');117 }118 });119 $( ".widgetkits-repeater-info" ).disableSelection();120 121 // Changed repater title122 $(document).on('change paste keyup', 'input.sl-repater-title-in', function(){123 var $value = $(this).val(),124 $i_index = $(this).closest('.single-repeater-field-wrap').index() + 1,125 $item = $(this).closest('.single-repeater-field-wrap').find('.single-repater-title');126 127 if ( $value.length > 0 && $value.length > 25 ) {128 $value = $value.substr(0, 25) + '...';129 }130 131 if ( $value.length > 0 ) {132 $item.html( $value );133 } else {134 $item.html( 'Item #<span class="repeater_num">'+ $i_index +'</span>' );135 }136 })137 138 // Remove repeater single139 $(document).on('click', '.repeater-control-remove', function(e){140 e.preventDefault();141 142 var $self = $(this),143 $item = $self.closest('.single-repeater-field-wrap');144 145 $item.slideUp("normal", function(){146 $(this).remove();147 148 $('.widgetkits-repeater-info').find('.single-repeater-field-wrap').each(function(index){149 var $current = $(this),150 $number = $current.find('.repeater_num'),151 $wrapper = $current.closest('.widgetkits-repeater-info-wrapper'),152 $the_field_id = $wrapper.attr('data-field-id'),153 $inputs = $current.find('input');154 155 var $set_index = index + 1;156 157 if ($number.length) {158 $number.text($set_index);159 }160 $inputs.each(function(){161 var $name = $(this).attr('name');162 var changed_name = $name.replace(/\["+the_field_id+"](\[(.*?)\])/g, "["+the_field_id+"]["+index+"]")163 $(this).attr('name', changed_name);164 });165 $('.widgetkits_special-wfield').trigger('change');166 });167 });168 169 return false;170 })171 172 // Add new repeater group173 $(document).on('click', '.widgetkits-widget-add-item', function(e){174 e.preventDefault();175 var $self = $(this),176 $widget = $self.closest('.widget.open'),177 $widget_id = $widget.attr('id'),178 $wrapper = $self.closest('.widgetkits-repeater-info-wrapper'),179 $the_widget_id = $wrapper.attr('data-id-name'),180 $the_field_id = $wrapper.attr('data-field-id'),181 $placeholder = $wrapper.attr('data-placeholder'),182 $subtitle_placeholder = $wrapper.attr('data-subtitle-placeholder'),183 $widget_arr = $widget_id.split($the_widget_id+"-").reverse(),184 $unique_id = $widget_arr[0],185 186 $container = $wrapper.find('.widgetkits-repeater-info'),187 $open = $container.find('.repater_open'),188 $item = $container.find('.single-repeater-field-wrap');189 190 var $index = 0;191 if ($item.length) {192 $index = $item.length;193 194 $item.each(function(i){195 var $current = $(this);196 if($current.find('.repater_open').length) {197 $current.find('.repater_open').removeClass('repater_open').next('.single-repater-content').slideUp();198 }199 });200 }201 202 var wrap_parent = $self.closest('.widgetkits-repeater-info-wrapper'),203 data_type = wrap_parent.attr('data-field-id');204 205 var $sub_title = '<input type="text" class="sl-repater-sub_title-in" placeholder="'+$subtitle_placeholder+'" name="widget-'+$the_widget_id+'['+$unique_id+']['+$the_field_id+']['+$index+'][sub_title]">';206 207 if( data_type === "social_links" ) {208 $sub_title = '';209 }210 211 var $num_index = $index + 1;212 $container.append('<div class="single-repeater-field-wrap"><div class="single-repater-title widget-'+$the_widget_id+'-'+$unique_id+'-'+$the_field_id+'-'+$index+'-title">'+ widgetkitsWLocalize.item +' #<span class="repeater_num">'+$num_index+'</span></div><div class="single-repater-content"><div class="single-widget-icon-wrapper"><a class="button thickbox_special"><span>'+ widgetkitsWLocalize.select_icon +'</span></a> <input class="widget-'+$the_widget_id+'-'+$index+'-thumb fa_sepcial_wfield sl_media_input" id="widget-'+$the_widget_id+'-'+$unique_id+'-'+$the_field_id+'-'+$index+'-thumb-id" name="widget-'+$the_widget_id+'['+$unique_id+']['+$the_field_id+']['+$index+'][thumb]" type="hidden" value=""/><div class="fa_append_element" id="contact_info_icons-widget-'+$the_widget_id+'-'+$unique_id+'-'+$the_field_id+'-'+$index+'-thumb-id" style="display: none"></div><br /><br /></div> <input type="text" class="sl-repater-title-in" placeholder="'+$placeholder+'" name="widget-'+$the_widget_id+'['+$unique_id+']['+$the_field_id+']['+$index+'][title]"> '+$sub_title+'<div class="repater-alighment"> <button type="button" class="button-link button-link-delete repeater-control-remove">'+ widgetkitsWLocalize.delete +'</button></div></div></div>').find('.widget-'+$the_widget_id+'-'+$unique_id+'-'+$the_field_id+'-'+$index+'-title').addClass('repater_open').next('.single-repater-content').slideDown();213 return false;214 });215 216 // Repeater field accordion217 $(document).on('click', '.single-repater-title', function(e){218 e.preventDefault();219 220 var $self = $(this),221 $parent = $self.closest('.single-repeater-field-wrap'),222 $wrapper = $self.closest('.widgetkits-repeater-info'),223 $siblings = $wrapper.find('.repater_open');224 225 if( $self.hasClass('repater_open') ) {226 $self.removeClass('repater_open');227 $self.next('.single-repater-content').slideUp();228 } else {229 $siblings.removeClass('repater_open').next('.single-repater-content').slideUp();230 $self.addClass('repater_open');231 $self.next('.single-repater-content').slideDown();232 }233 return false;234 });235 236 // Media file upload init237 $(document).on('click', '.sl-widget-up-btn', function(e){238 e.preventDefault();239 240 var $self = $(this),241 $parent = $self.closest('.single-widget-uploader'),242 $img = $parent.find('img'),243 $remover = $parent.find('.sl-widget-media-remove'),244 $input = $parent.find('.sl_media_input');245 246 var file_frame = wp.media.frames.file_frame = wp.media({247 title: widgetkitsWLocalize.upload,248 library: {249 type: 'image'250 },251 button: {252 text: widgetkitsWLocalize.select_img253 },254 multiple: false255 });256 257 file_frame.on('select', function(){258 var attachment = file_frame.state().get('selection').first().toJSON();259 $input.val(attachment.url);260 if ( $img.length ) {261 $img.attr('src', attachment.url);262 } else {263 $parent.append('<img src="' + attachment.url + '">');264 }265 if ( $remover.length ) {266 $remover.css('display', 'inline-block');267 } else {268 $self.after('<button style="display: inline-block;" class="sl-widget-media-remove button" data-url="'+ widgetkitsWLocalize.home_url +'">'+ widgetkitsWLocalize.remove_img +'</button>');269 }270 $input.trigger('change');271 });272 273 file_frame.open();274 275 });276 277 // Media remove278 $(document).on('click', '.sl-widget-media-remove', function(e){279 e.preventDefault();280 281 var $self = $(this),282 $parent = $self.closest('.single-widget-uploader');283 284 if( $self.closest('.single-widget-icon-wrapper').length ) {285 $parent = $self.closest('.single-widget-icon-wrapper');286 }287 288 var $input = $parent.find('.sl_media_input'),289 $img = $parent.find('img');290 291 if ( $parent.length && $img.length && $img.attr('src').length ) {292 $img.slideUp("normal", function(){293 $(this).remove();294 $input.val('');295 $self.hide();296 $input.trigger('change');297 });298 }299 300 return false;301 });302 303 });304 305 })(jQuery); -
widgetkits/trunk/readme.txt
r2510264 r2513088 2 2 Contributors: msakib 3 3 Donate link: https://themepaw.com/ 4 Tags: posts widget, latest posts widget, sidebar widget, author widget, about widget4 Tags: Elementor, Elementor Addons, Elementor Widget, Elementor Addon, Elements, Widgetkits, Widget 5 5 Requires at least: 4.7 6 6 Tested up to: 5.7 … … 10 10 Stable tag: trunk 11 11 12 widgetKits All in one solution sidebar widget 13 12 WidgetKits For Elementor Helper Plugin And Wordpress Default Sidebar Solution 14 13 == Description == 15 14 -
widgetkits/trunk/widgetkits.php
r2510440 r2513088 17 17 //Set plugin version constant. 18 18 define( 'WIGETKITS_VERSION', '1.1.0'); 19 19 /* Set constant path to the plugin directory. */ 20 define( 'WIGETKITS_WIDGET', trailingslashit( plugin_dir_path( __FILE__ ) ) ); 20 21 // Plugin Function Folder Path 21 22 define( 'WIGETKITS_WIDGET_INC', plugin_dir_path( __FILE__ ) . 'inc/' ); … … 31 32 32 33 33 34 require_once(WIGETKITS_WIDGET_DIR. 'class-widgetkits-recent-post.php' ); 35 require_once(WIGETKITS_WIDGET_DIR. 'class-widgetkits-about.php' ); 36 require_once(WIGETKITS_WIDGET_DIR. 'class-widgetkits-socail.php' ); 37 require_once(WIGETKITS_WIDGET_INC . 'function.php'); 38 39 function wigetkit_scripts(){ 40 //icon css 41 wp_enqueue_style( 'themify-icons', WIGETKITS_ASSETS_PUBLIC . '/vendor/themify-icons/themify-icons.css', array(), WIGETKITS_VERSION ); 42 43 //main css 44 wp_enqueue_style( 'widgetkit-css', WIGETKITS_ASSETS_PUBLIC . '/css/widget-style.css', array(), WIGETKITS_VERSION ); 45 46 } 47 add_action('wp_enqueue_scripts', 'wigetkit_scripts'); 34 require_once( WIGETKITS_WIDGET_INC . 'sidebar-widget-file.php' ); 35 require_once(WIGETKITS_WIDGET_INC . 'helper-function.php'); 36 require_once( WIGETKITS_WIDGET . 'base.php' ); 48 37 49 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.