Support » Fixing WordPress » How to load jquery from plugin after wp 3.0 update?

  • Resolved rokk

    (@rokk)


    Sence i’ve updated wp to version 3.0 it seems that all my ajax won’t work because jquery do not load.

    I use this in my plugins

    add_action('init', 'hauwidhud_init_method');
    function hauwidhud_init_method() {
    	wp_enqueue_script("jquery");
    }

    and I get “jQuery is not defined”.

    So how do I properly initialize jquery in wp 3.0?

    Regards,
    Dan

Viewing 1 replies (of 1 total)
  • rokk

    (@rokk)

    Never mind. It was my theme that failed!

    The wp_head function was never called in header.php

Viewing 1 replies (of 1 total)
  • The topic ‘How to load jquery from plugin after wp 3.0 update?’ is closed to new replies.