Last Updated: February 25, 2016
·
548
· hi_dm

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');

});