How to get the jQuery script working. Please help!
-
Hi!
I′ve been struggling with trying to set a jquery list file on a wordpress site. This is the script and html in a codepen: https://codepen.io/javve/pen/bBfgD
My question is. The examples has html with scripts linked in. Can I copy the html to a custom page o do I need to set them in the header/footer, or enque them? Second question is regarding the jquery:
var monkeyList = new List('test-list', { valueNames: ['name'], page: 5, plugins: [ ListPagination({}) ] });
How do I adapt that to WordPress? Tried to set the in scripttags in the header, but no luck.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to get the jQuery script working. Please help!’ is closed to new replies.