Write jQuery normally within WordPress
By default, WordPress' built-in jQuery library comes in "no-conflict" mode. This requires inline jQuery to use "jQuery" everywhere you would normally use "$".
A simple workaround:
jQuery(document).ready(function($){
$('normal-jquery-here');
});
Written by &y
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#