wp_register_script and wp_enqueue_script
-
I want to add scripts like jQuery, scriptaculous etc.
In order not to double register a script, I would like to use wp_register_script and wp_enqueue_script.
But how do I use these?
From what I can read, I have to put them inside functions.
But I’m not making any plugins or such.
I would like to add them in the header, below wp_head().But when I add it there, I don’t see any change in the source code.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘wp_register_script and wp_enqueue_script’ is closed to new replies.