WordPress.org

Support

Support » Plugins and Hacks » [Resolved] jqeury problem

[Resolved] jqeury problem

  • 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 ))
    thanks.

    http://wordpress.org/extend/plugins/advance-wp-query-search-filter/

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