Support » Plugins and Hacks » [Resolved] [Plugin: Mini twitter feed] jQuery conflict

[Resolved] [Plugin: Mini twitter feed] jQuery conflict

  • Great plugin, love it.
    However WordPress uses jQuery in noConflict mode so using the $ in your javascript can cause conflicts (as happened to me).
    If you just change line 92 of mini-twitter-feed.php from:
    then it works well for me.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author hectopod


    Thank you for your message! It will be added in the next update.

    By the way you are using wp_deregister_script('jquery'); and then loading the latest version from Google’s Ajax Library – this is not a wise move.

    I do have scripts that don’t work with the latest version and your plugin is forcing my website to use it.

    Better use simply wp_enqueue_script('jquery'); or check jquery version within your script if you require latest and greatest and notify the user of your implied version!

    global $wp_scripts;
    if ( isset( $wp_scripts->registered['jquery'] ) && ( version_compare( $wp_scripts->registered['jquery']->ver, '1.7.2', '>=' ) ) ) {
      print_r('go go go');

    BTW if you put the last bit of code inside a wp_enqueue_scripts action, you’ll ensure that $wp_scripts is ready to use.

    Plugin Author hectopod


    BTW thank you for your messages, I will check it and find a way to not force the use of the last jquery version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Mini twitter feed] jQuery conflict’ is closed to new replies.