Support » Plugin: Advance WP Query Search Filter » jqeury problem

  • Resolved Mihail Semjonov


    Hi there. I was playing around with your plugin and found that you js file loads befor jquery gets loaded.

    line: 117 – wp_register_script( ‘awqsf-frontjs’, plugins_url( ‘js/awqsf-front.js’, __FILE__ ), array(), ‘all’ );

    the fix is wery simple :
    wp_register_script( ‘awqsf-frontjs’, plugins_url( ‘js/awqsf-front.js’, __FILE__ ), array(‘jquery’), ‘version’ );

    array(‘jquery’), so that js loads in depending.
    and instead of ‘all’ you should write version ))

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘jqeury problem’ is closed to new replies.