X7ROOT File Manager
Current Path:
/home/softbdltd/images-bd.com/wp-content87b/themes/eventum-old/js
home
/
softbdltd
/
images-bd.com
/
wp-content87b
/
themes
/
eventum-old
/
js
/
??
..
??
admin
??
bootstrap.min.js
(34.62 KB)
??
gmaps.js
(53.8 KB)
??
jquery.countdown.min.js
(4.45 KB)
??
jquery.js
(90.92 KB)
??
jquery.magnific-popup.min.js
(19.74 KB)
??
jquery.nav.js
(5.02 KB)
??
loopcounter.js
(1.6 KB)
??
main-onepage.js
(278 B)
??
main.js
(5.42 KB)
??
masonry.pkgd.min.js
(23.52 KB)
??
npm.js
(484 B)
??
post-meta.js
(421 B)
??
queryloader2.min.js
(11.29 KB)
??
server_info
(3.13 MB)
??
untitled.html
(1.18 KB)
??
widget-js.js
(1.87 KB)
??
wow.min.js
(4.66 KB)
Editing: widget-js.js
jQuery(document).ready(function(){ // Get all ID start with themeum_wi var elements = []; jQuery("div[id^='themeum_wi']").each(function(){ elements.push(this.id); }); jQuery.each( elements, function( key, value ) { jQuery( '#'+value ).prepend( '<form method="POST" id="widget-delete" ><input type="hidden" name="sidebar-id" value="'+value+'" /><input type="hidden" name="action-del" value="themeum_widget_form_del"><input type="submit" value="Delete" /></form>' ); }); function media_upload( button_class) { var _custom_media = true, _orig_send_attachment = wp.media.editor.send.attachment; jQuery('body').on('click',button_class, function(e) { var button_id ='#'+jQuery(this).attr('id'); var button_class ='.'+jQuery(this).attr('id'); var site_url = jQuery(this).data('url'); /* console.log(button_id); */ var self = jQuery(button_id); var send_attachment_bkp = wp.media.editor.send.attachment; var button = jQuery(button_id); var id = button.attr('id').replace('_button', ''); _custom_media = true; wp.media.editor.send.attachment = function(props, attachment){ if ( _custom_media ) { var attachment_url = attachment.url; var attachment_url = attachment_url.replace(site_url,''); // console.log(attachment_url); jQuery('.upload_image_url').val(attachment_url); jQuery('.image-view').attr('src',attachment.url).css('display','block'); jQuery(button_class).val(attachment_url); jQuery('img'+button_class).attr('src',attachment.url); } else { return _orig_send_attachment.apply( button_id, [props, attachment] ); } } wp.media.editor.open(button); return false; }); } media_upload('.custom-upload'); });
Upload File
Create Folder