WordPress.org

Support

Support » Plugins and Hacks » Q and A FAQ and Knowledge Base for WordPress » [Resolved] [Plugin: Q & A FAQ and Knowledge Base] jQuery dependency missing

[Resolved] [Plugin: Q & A FAQ and Knowledge Base] jQuery dependency missing

  • The q-a-plus.js is missing a jQuery dependency in wp_enqueue_script, so your script can load before jQuery (throwing a JS error). Line 79 of functions.php should read:
    wp_enqueue_script( 'q-a-plus', Q_A_PLUS_URL . '/js/q-a-plus.js', array('jquery'), $qaplus_options['version'], true );
    Thanks!

    http://wordpress.org/extend/plugins/q-and-a/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dalton Rooney

    @daltonrooney

    Thanks, we’ll be sure to add that in the next version of the plugin!

    Dalton

    Unfortunately this bug-fix is still not fixed – even though a new version has come out since. Would be nice to see it in the next version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Q & A FAQ and Knowledge Base] jQuery dependency missing’ is closed to new replies.
Skip to toolbar