$. vs jQuery.

Straight javascript uses $ For platforms such as WordPress you need to change the $ to be jQuery instead e.g.

Read More