![]() In case of header, the value must be set to false.Īfter providing all parameters in wp_register_script(), call the wp_enqueue_script() to actually enqueue the registered script by it’s handle. $in_footer – In order to load script into the footer section, it is good to set the value to be true.$ver – ver stands for version number of the script.Since the script mentioned above uses jQuery, jQuery has been mentioned in the dependency area. ![]() The plugins_url() function is taken into usage to get the proper URL of plugins folder.
0 Comments
Leave a Reply. |