load jquery
-
Hey guys,
I want to alter my registration form and need some javascript for it. I would like to use the jquery-library, but cannot manage to include it via wordpress-functions.
As in WordPress Function Reference – wp_enqueue_script I use the
init
-Hook, after tryingget_header
,wp_head
,wp_enqueue_scripts
but neither of them worked.add_action('init', array(&$this, 'add_jquery')); function add_jquery(){ wp_enqueue_script( 'jquery' ); }
What am I missing?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘load jquery’ is closed to new replies.