WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Plugin: Facebook Activity Feed Widget for WordPress] Add the jQuery dependency

[Plugin: Facebook Activity Feed Widget for WordPress] Add the jQuery dependency

  • Hi there-

    Great plugin. Just wanted to alert you that we got an error with your plugin because jQuery was being referenced after the reference to the jscolor script. To remedy, change this:

    wp_enqueue_script(‘jscolor’,
    WP_PLUGIN_URL.”/facebook-activity-feed-widget-for-wordpress/jscolor/jscolor.js”);

    to this:

    wp_enqueue_script(‘jscolor’,
    WP_PLUGIN_URL.”/facebook-activity-feed-widget-for-wordpress/jscolor/jscolor.js”,array(‘jquery’));

    Thanks!

    http://wordpress.org/extend/plugins/facebook-activity-feed-widget-for-wordpress/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Facebook Activity Feed Widget for WordPress] Add the jQuery dependency’ is closed to new replies.