WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. enderandrew
    Member
    Posted 2 years 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.