Here you go 🙂
https://ww.wp.xz.cn/support/topic/countdown-timer-format-2/
As that user said, the file to edit is /includes/js/hdq_script.js and you need to replace line 36 with
min = parseInt(hdq_timer/60);
min = min < 10 ? '0' + min : min;
sec = hdq_timer%60;
sec = sec < 10 ? '0' + sec : sec;
t = min + ":" + sec;
jQuery(".hdq_timer").html(t);
Also, the next version of HD Quiz will contain a version of this by default 🙂
When your next version is going to be released..??
and dear i couldnot locate the hdq_script.js file in the public_html> wp-includes>js
can you please guide me in this regard?
Hi mubasher99,
it’s in beta being tested by several users, so I have a planned date of October 1st, but that could change if any bugs are found or if I need to flesh out any features.
hdq_script.js is located in the HD Quiz plugin folder, not the the wp-includes folder.
yourdomain.com/wp-content/plugins/hd-quiz/includes/js/hdq_script.js
EDIT: You can use WordPress’ built in editor to more easily get to and edit the file by going to plugins -> plugin editor
-
This reply was modified 6 years, 8 months ago by
Harmonic Design. Reason: added more info
Thank you very much for the help dear.. 🙂
Really love your work