Try pasting this in your themes functions.php file: http://pastie.org/1376398
Let me know if you need any clarification on this! :)
Note: this snippet assumes that jQuery is already being loaded on the front end.
Posted 7 years ago on Tuesday December 14, 2010 | Permalink