Forums

WP-Polls
JS and CSS load on every page (1 post)

  1. enderandrew
    Member
    Posted 11 months ago #

    I love wp-polls and I want to thank you for developing this plugin. I've noticed that this plugin however loads .js and .css files on every single WordPress page, even if there is no poll being used.

    Is it possible to only load them on pages where there is a poll?

    I'm not a PHP/JS developer, but I came across a post that might be useful that discusses how to only load your javascript on the WordPress page that needs it.

    http://aquoid.com/news/2011/02/suffusion-version-3-7-8/ - Scroll down to "Things that are not issues"

    http://wordpress.org/extend/plugins/wp-polls/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.