jQuery conflict in WordPress, works fine in HTML

Note: This is my solution from 5 years back:

I was able to solve it. The debugging showed that the Grid was undeclared so I added Grid.init(); to its portfolio.js file itself, and it worked after that. Thanks a lot. 🙂 – Hardeep Asrani Jul 8 ’15 at 3:13