WordPress.org

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 2 years 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 Rooney
    Member
    Plugin Author

    Posted 2 years ago #

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

    Dalton

  3. jrf
    Member
    Posted 2 years 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

  • Q and A FAQ and Knowledge Base for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.