Skip to navigation
How to add jquery and my own javascript to a wordpress admin plugin
07.12.13
1. create js/application.js in your plugin folder http://jpablobr.com/past/wordpress-plugins-implementing-jquery-tutorial 2. in your ini function of your plugin add the line wp_enqueue_script( 'myJavascript',get_bloginfo('wpurl').'/wp-content/plugins/myplugin/js/application.js', array('jquery')); 3. than within your plugin functions you can call the js file. http://jpablobr.com/past/wordpress-plugins-implementing-jquery-tutorial
Reply
Anonymous
Information Epoch 1732508957
Think hierarchically.
Home
Notebook
Contact us