Support » Plugins and Hacks » Hacks » Using Differ jQuery In Plugin

  • Resolved Hardeep Asrani

    (@hardeepasrani)


    Support Team Volunteer

    I’m trying to create a plugin which uses jQuery.

    I tried 10 different jQuery scripts, and believe me that plugin is working with all of them, but with the jQuery which ships with WordPress.

    As much as I can remember, we are not allowed to include jQuery script in plugin, so is it any way to make it work or can I include jQuery in the plugin if the core jQuery is not working?

    Thanks for the help 🙂

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for the slow response, I’ve been away.

    Please review Function Reference/wp enqueue script. It should answer most of your questions. It’s quite rare for the core version to not work when properly implemented. In those rare cases, it must be deregistered before the correct version is registered and enqueued.

Viewing 1 replies (of 1 total)
  • The topic ‘Using Differ jQuery In Plugin’ is closed to new replies.