Unable to run jQuery script in my template file

I don’t think jQuery script is en-queued by default with WordPress templates. So you should place the jQuery script in the header/footer for your code snippet to work.

Leave a Comment