How to Add Download Timer in Blogger & WordPress

     


What is Download Timer?

So friends, before knowing about Add Download Timer in Blogger, we get to know about this Download Timer.

So let me tell you that this is a process. There is a countdown of a certain time before downloading anything. This is what we call Download Timer.

[wbcr_html_snippet id = ”4074 ″]

Free Countdown Widget for Blogger

If you do blogging and your blog is on Blogger platform. As well as your blog Downloading Blog Is So you must have thought that at some time you should earn a good amount too.
So for this bloggers use Download Timer. Using this, people will stay on your blog for the time you have decided. So that your Bounce Rate She also stays in control.

Countdown Timer html Script

So friends, let me tell you that this download Timer's feature is made by Coding. HTML and JavaScript have been used in this feature.

If you see any tools or Widget related to online web development. Coding has great importance in everything. Nowadays people of coding Sikhs are earning a decent amount even sitting at home easily.

Download Timer in Blogger & WordPress

So even before that I wrote an article on this Download Timer. But in it, I had told about such script which used to be redirected as soon as the timer was over.

But today I am going to tell you about a new script. Which you need after the timer runs out Download Button Will appear After this, you will get the download only after clicking on it.

The script that I had told earlier, worked only in Blogger's blog. But you can easily use this script in WordPress website too.

How To Use Download Timer

So below I have explained all those steps in detail. With the help of which you can easily use this Download Timer Widget. So follow the steps below.
Step 1– First of all, you will get this Download Timer's Script. Copy it.
<div dir="ltr" style="text-align: left;" trbidi="on">
<body>
<center>
<span id="countdown">You have to wait 15 seconds.</span></center>
<br />
<div style="text-align: center;">
<b>Download Timer</b><br />
<a href="#" id="download_link" style="display: none;"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAfpRhSH8pJ90iuTpbQlpUnNd71Es7xcGsAqfg2SXeeUruda_A26J9LhaMqQFHyQH2gYJ3CLaE9Vcu4we1guXJuohNR06WF-l81KeaCI_gqkIMco9PJX4320EpM_GlVZ3j_gD9Sw70V8I/s1600/but.jpg" /></a>
<noscript>JavaScript needs to be enabled in order to be able to download.</noscript>
<script type="application/javascript">
(function(){
   var message = "%d seconds before download link appears";
   // seconds before download link becomes visible
   var count = 15;
   var countdown_element = document.getElementById("countdown");
   var download_link = document.getElementById("download_link");
   var timer = setInterval(function(){
      // if countdown equals 0, the next condition will evaluate to false and the else-construct will be executed
      if (count) {
          // display text
          countdown_element.innerHTML = "You have to wait %d seconds.".replace("%d", count);
          // decrease counter
          count--;
      } else {
          // stop timer
          clearInterval(timer);
          // hide countdown
          countdown_element.style.display = "none";
          // show download link
          download_link.style.display = "";
      }
   }, 1000);
})();
</script>
</div>
</body></div>
Step 2– Now you have to paste this code wherever you want to use this widget.
Step 3– Now you have to paste your download link in this code on the # of place.
Step 4– And if you want to change the time in it, you can easily change it. And save.
Step 5– Now your work is done successfully.

Post a Comment

0 Comments