Support » Plugins and Hacks » [Resolved] Vote button no longer working

[Resolved] Vote button no longer working

Viewing 5 replies - 1 through 5 (of 5 total)
  • I had the same case, I changed a value of the function wp_enqueue_script() in line 214 of the wp-polls.php file like this:

    The original:
    wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.63', true);

    The Change:
    wp_enqueue_script('wp-polls', plugins_url('wp-polls/polls-js.js'), array('jquery'), '2.63', false);

    The file wp-polls.php is in the plugins directory /wp-content/plugins/wp-polls/wp-polls.php

    After this, it work’s.

    Try and comment.

    Perfect renevillegasr worked a treat. Thanks again for your help.

    Thanks, it’s an honor, Greetings

    I was having the same problem – that worked!

    Plugin Author Lester Chan


    What that line does, bascially change the loading of the Polls JS from the footer (which is recommended) to the header.

    So if it breaks at the footer, that means your site has a Javascript problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Vote button no longer working’ is closed to new replies.