3711 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

@greenline .. you should enqueue the jQuery plugin yourself if your plugin utilizes it. This is not a user error, because for example, i might work with a simple theme that has absolutely no use of jQuery (especially in a context when CSS3 can mimic simple stuff). So you should make sure that your plugin loads jQuery and depends on it..

1164 posts
  • Has been a beta tester for an Envato feature
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Has referred 1+ members
+6 more
greenline says

I do include jQuery in my plugin, wp_enqueue_script(“jquery”);

3711 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

I do include jQuery in my plugin, wp_enqueue_script(“jquery”);

So the customer deregistered jQuery and registered his own version?! :(:D

1164 posts
  • Has been a beta tester for an Envato feature
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Has referred 1+ members
+6 more
greenline says


I do include jQuery in my plugin, wp_enqueue_script(“jquery”);
So the customer deregistered jQuery and registered his own version?! :(:D

Yes, unfortunately. It took me 3 days to notice, because I thought it is a more complicated issue. When I was close to “loose my mind” I downloaded myself underscores theme and compared it with twentytwelve theme => then noticed the difference.

2 posts
  • Has collected 1+ items on Envato Market
alexenvuser7 says

Hi greenline,

I know this is an old thread, but was wondering if your could share , in a bit more detail, how you got the plugin to work.

I’m pretty new with WordPress, and I’ve been trying for several days to get a plugin to work on an Underscores theme that I’m using for a client’s site.

I tried adding the following code to my functions.hph file, but I still can’t get the plugin to work:

/** * Add jquery support */ function jquery_scripts() { wp_enqueue_script( ‘jquery’ ); }

It works fine on Twenty Twelve, but not on Underscores.

Any help would be immensely appreciated! add_action( ‘wp_enqueue_scripts’, ‘jquery_scripts’ );

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by