Use Bigfoot.js in Wordpress Without a Plugin
So I added BigFoot.js to Mean Green Nation. I run MGN on WordPress but the only way I saw to add it to my site was through the plugin. I’m not the biggest fan of WP shortcodes, and I like the way Markdown does footers and so I wanted to stick with that.
After some quick googlin’ I didn’t find an obvious how-to. I fiddled around with it for a half-hour and got it working. To fill the void until someone better comes along here you go:
How to Add Bigfoot.js without using WP-Bigfoot
- Grab the code from the project page
- Host it in your themes folder. Ex:
YourKewlTheme/js/bigfoot/
- Edit your theme’s functions like in the example below.
- Enjoy!
</code>
Notes: You have to use jQuery.bigfoot
because wordpress has the noConflict mode on.
This was originally published here