Support » Plugin: WP Survey And Quiz Tool » [Plugin: WP Survey And Quiz Tool] WPSQT Get the timer working

Viewing 14 replies - 1 through 14 (of 14 total)
  • I’m having the same problem. Please tell me if you got the timer working.

    I didnt find a solution so far. So i used a ready AJAX- Javascript timer..

    I found the solution. The timer was not showing because of a plugin that I installed. After deactivating that plugin the timer is working perfectly.

    Try to have a look at the plugins and deactivate them one-by-one to see if that solves your problem.

    Thanks for the suggestion #ramershengale, unfortunately this did not work for me. I disabled all plugins on my site and the timer is still not showing. I guess this means that the issue is with the theme.

    Does anyone have any suggestions as to what could cause a conflict with the timer? Knowing this could greatly help in finding a fix for the issue. Could it be due to a change in the latest version of WordPress (3.4.2)?

    I’ve actually just noticed that in the source code there is a problem with the timer script. There are opening and closing paragraph tags at the end, which is what is causing the problem.

    <script type="text/javascript">
    						jQuery(document).ready( function(){
    							var timeSecs = 60;
    							var refreshId = setInterval(function() {
    								if (timeSecs != 0) {
    									timeSecs = timeSecs - 1;
    									var timeMins = timeSecs / 60;
    									timeMins = (timeMins<0?-1:+1)*Math.floor(Math.abs(timeMins)); // Gets rid of the decimal place
    									var timeSecsRem = timeSecs % 60;
    									if (timeMins > 0) {
    										jQuery(".timer").html("Time Left: " + timeMins + " mins and " + timeSecsRem + " seconds");
    									} else {
    										jQuery(".timer").html("Time Left: " + timeSecsRem + " seconds");
    								} else {
    									jQuery(".quiz").html("Unfortunately you have run out of time for this quiz.");
    							}, 1000);</p>
    <p>						});

    Seems like WordPress may be doing this but just to confirm can anyone point me to the right file where this code is executed from?


    Has anyone found a solution to make the timer work on wordpress 3.4.1 ?

    Thank you very much.

    @svarry, if the timer is not working for you it may be because of the same issue that I mentioned above. After speaking to the dev to find out what file this code was in I noticed two spaces after the “}, 1000);” part. Remove those and it should work.

    The file is located at:

    The line breaks you will want to remove will be around line 295. See code example above, where those <p> tags are is where the spaces are.

    That code above was taken from the source of the page where the timer is meant to be on, so you can check the source of your page to see if it if the same thing that is breaking your timer.

    If not then it will most likely be a conflict with another plugin, in which case you’ll have to disable them one by one until you find the culprit.


    I have installed WPSQT plugin for showing quiz on my website.But it is not working properly. Although quiz is working fine but the “Take details” page is not opening on the start of the Quiz. Also it is giving wront text font.

    Please let me know if anyone have some suggestions.

    Abhishek saxena

    @psychedelus thank you very much for the feedback. I did the necessary changes in the file and set the time but for some reason it just does not show up on the page :/. May be its a conflicting plugin I am dealing with here. Will work on that. Thanks once again.

    @abhishek : Please send the link to the quiz directly so that I can take a look. The link on the website (under database) for quiz is broken.

    @svarry: Below is the link for my website:

    Thanks for your quick response. Let me know if you need something else.


    @abhishek did you create a from under WPSQT>quizzes>forms ? if you did then did you select then edit your quiz and make sure that the “Take contact details” radio button is selected yes. Let me know if you had trouble locating this.


    Thanks a lot for your quick response.Now “Take Contact details” is coming properly.
    I have a question When I submit the quiz it gives the wrong font(some part in small text and some in large). Can you tell me how can I fix this.

    One more thing I wanna discuss. I saw Chart feature at WPSQT>options—
    Can you tell me how to use this feature or some link that shows how to use this feature.

    Once again Thanks a lot for helping me.


    Everything is working in my site in desktop but its timer and submission one time functions are not working while playing in mobile.

    This is my site:

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: WP Survey And Quiz Tool] WPSQT Get the timer working’ is closed to new replies.