WordPress.org

Ready to get started?Download WordPress

Forums

Q and A FAQ and Knowledge Base for WordPress
[resolved] [Plugin: Q & A FAQ and Knowledge Base] jQuery dependency missing (3 posts)

  1. boxcarpress
    Member
    Posted 1 year ago #

    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/

  2. Dalton
    Member
    Plugin Author

    Posted 1 year ago #

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

    Dalton

  3. jrf
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.