Support » Plugin: Wp-Pro-Quiz » How to Defer the Javascript and Move it to Footer

  • Hi,
    Great plugin. However I am having some problem with my performance plugin. I am using Speed Booster pack to defer all JS and move the scripts to the footer. But looks like the Pro Quiz does not like it and the Start Quiz button becomes non clickable.

    I can us the Speed booster plugin to add an exception to the JS for Pro Quiz but I am not sure which ones to add: Here is what I have done, but still no luck:

    1. Exclude Scripts from being moved to footer:

    Script Handle: wpProQuiz_front_javascript
    Copy the HTML code of the script from your page source and add it below:
    <script type='text/javascript' src='http://www.dealwithautism.com/wp-content/plugins/wp-pro-quiz/js/wpProQuiz_front.min.js'></script>

    2. Exclude Scripts from being deferred:

    I have excluded this script: wpProQuiz_front.min.js

    Is there any other exception I need to add? Please suggest as this option is not working.

    Here is the documentation for this plugin:
    http://tiguandesign.com/docs/speed-booster/#exclude-scripts-from-being-moved-to-the-footer-50

    https://wordpress.org/plugins/wp-pro-quiz/

Viewing 1 replies (of 1 total)
  • I have the exact same problem and it isn’t working for me either…?

    for example the following is one of the scripts I tried to exclude…

    <script type=’text/javascript’ src=’http://homeremedieslog.com/wp-content/plugins/wp-pro-quiz/js/wpProQuiz_front.min.js’></script>

    didn’t work so I tried taking of the <script bits so it became just…

    http://homeremedieslog.com/wp-content/plugins/wp-pro-quiz/js/wpProQuiz_front.min.js

    but that didn’t work either.

    and for the scripts to be deferred i tried the following…

    wpProQuiz_front.min.js

    but that didn’t work either…

    pretty sure I did everything right.. so it just doesn’t work does it?

Viewing 1 replies (of 1 total)
  • The topic ‘How to Defer the Javascript and Move it to Footer’ is closed to new replies.