php Programming Glossary: wp_register_script
How to Use AJAX in a WordPress Shortcode? http://stackoverflow.com/questions/13498959/how-to-use-ajax-in-a-wordpress-shortcode the js function wpse72974_load_scripts if is_admin wp_register_script 'ajax quote' get_template_directory_uri . ' js ajax load quote.js'..
Wordpress: Loading multiple scripts with enqueue - noob http://stackoverflow.com/questions/19263390/wordpress-loading-multiple-scripts-with-enqueue-noob So any help would be appreciated function load_jquery wp_register_script 'jquery_script' get_template_directory_uri . 'js jquery 2.0.3.min.js'.. 'init' 'load_jquery' end jQuery function another wp_register_script 'another_script' get_template_directory_uri . 'js another.js'.. its better to register script or style first before using wp_register_script to register script wp_register_style To register style then..
|