122 posts
  • Bought between 50 and 99 items
  • Denmark
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Sold between 1 000 and 5 000 dollars
jayjdk says

You should add jQuery as a dependencies for the scripts that depends on jQuery.

So instead of false, use array( 'jquery' )

Also you don’t need the is_admin() stuff. The wp_enqueue_script action only runs on the front end.

1686 posts Don't Worry, Be Happy
  • Beta Tester
  • Grew a moustache for the Envato Movember competition
  • Elite Author
  • United States
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 3-4 years
  • Referred between 200 and 499 users
  • Most Wanted Bounty Winner
+2 more
FinalDestiny says

I’d recommend you to learn how the native wp functions work and don’t rely on tutorials, when a client requests explanations you can’t just say “But wait!!! I got this from a tutorial so it must be correct!”. With this attitudine you’ll probably fail in the long-run. It’s ok to rely on tutorials to learn new stuff, but understand them, not copy paste, clients aren’t going to learn you how it works.

Just my 2c

by
by
by
by
by
by