WordPress.org

Ready to get started?Download WordPress

Forums

Advance WP Query Search Filter
[resolved] jqeury problem (2 posts)

  1. Mihail Semjonov
    Member
    Posted 1 year ago #

    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/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    Wow, thanks for pointing it out!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.