How to only load polls-js.js on posts/pages with polls?
-
I tend to only do very rare polls using WP-Polls on specific posts, but otherwise all of my posts still load the polls-js.js file and that’s wasteful. I’m wondering, does anybody know an automated way in which I can just load the javascript file, but only on posts that actually include a poll?
- The topic ‘How to only load polls-js.js on posts/pages with polls?’ is closed to new replies.