Function Reference/wp enqueue script
-
Hello,
I am using for first time – Function Reference/wp enqueue script.
My case:
I have a script /jquery/.
1. In header reference:<script language="javascript" type="text/javascript" src="/wp-includes/js/jquery/jquery-1.3.2.min.js"></script>In fact, it is tested out of WP and it is working with the current jquery in WP /1.8.3/. So, theorethicaly it doesnt need this reference, but it is working just with reference on. The problem is, that the other plugins stop to work, when i use this reference.
2. In footer, there is a call of the function:
<script language="javascript" type="text/javascript"> $(document).ready(function() { ..................... } ) </script>I read the official document http://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
But i am doing something wrong.
Where i need to put this code and is there guide with practical examle, step by step?
Or maybe there is another solution, different from wp enqueue script?
Thanks
The topic ‘Function Reference/wp enqueue script’ is closed to new replies.