There are times you need to write some scripts for your WordPress build but using jQuery as usual isn’t going to work. Here is the best way to add your jQuery whether it’s inline or via an include.
Example
You will need to wrap any jQuery with this:
jQuery(document).ready(function( $ ) { //Code goes here and can start with $ });
Article Categories:
Coding