madlabmg
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [JQuery Html5 File Upload] Plugin creation – UrgentThe plugin author was referencing JS files hosted on github that have been moved. The best thing is to go find these files and bring them local, but the quick and easy fix is to open the main plugin file (/wp-content/plugins/jquery-html5-file-upload/jquery-html5-file-upload.php)
on lines 202, 203, 204 add /js/ to the path — here are the lines:
wp_enqueue_script ( 'tmpl-script', 'http://blueimp.github.com/JavaScript-Templates/tmpl.min.js',array('jquery'),'',true); wp_enqueue_script ( 'load-image-script', 'http://blueimp.github.com/JavaScript-Load-Image/load-image.min.js',array('jquery'),'',true); wp_enqueue_script ( 'canvas-to-blob-script', 'http://blueimp.github.com/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js',array('jquery'),'',true);replace them with:
wp_enqueue_script ( 'tmpl-script', 'http://blueimp.github.com/JavaScript-Templates/js/tmpl.min.js',array('jquery'),'',true); wp_enqueue_script ( 'load-image-script', 'http://blueimp.github.com/JavaScript-Load-Image/js/load-image.min.js',array('jquery'),'',true); wp_enqueue_script ( 'canvas-to-blob-script', 'http://blueimp.github.com/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js',array('jquery'),'',true);this should fix it, at least until the github changes again. the plugin author should be including the JS files in the plugin itself.
Forum: Plugins
In reply to: [Mobile Theme Switcher] [Plugin: Mobile Theme Switcher] View full site link?anyone have any ideas on this? I love the simplicity of just switching the theme, but at least for ipad users, it would be nice to give them the option to switch to the full theme.
Viewing 2 replies - 1 through 2 (of 2 total)