How to Add Download Timer in Blogger & WordPress

 Hello friends! Welcome to Vanfliq blog. So in this article today we are going to talk about Add Download Timer in Blogger & WordPress . And what is this & how can we use them? So we will know all these things in this article. So stay in this article and know more in full details.



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

Free Countdown Widget for Blogger

If you do blogging and your blog is on Blogger platform. Also your blog is a downloading blog . So you must have thought that at some time you should earn some 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 is also under 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 that 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. After the Z timer runs out, you Download Button Will appear After that you will be downloaded 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.

  <pre class="wp-block-code" style="background-color: #f1f1f1; border-radius: 0px; border: none; box-sizing: border-box; color: #222222; font-family: monospace, monospace; font-size: 15px; margin-top: 24px; overflow: auto; padding: 4px 10px;"><code style="border: none; box-sizing: border-box; font-family: monospace, monospace; font-size: 1em; padding: 2px 6px; position: relative; top: -1px;">
<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://3.bp.blogspot.com/-bqCFF_nGMv0/Wp-aBztjc7I/AAAAAAAAAVA/9eU63GcIxKk8n4N2ppAqk797hMFpwK7YQCLcBGAs/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>
</code></pre>

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 linking this code at the instance of # .

Step 4 - And if you want to change the time, then you can easily change it. And save it.

Step 5 - Now your work is done successfully.

Download Script Here:

You have to wait 15 seconds.

Download Timer

Conclusion 

And how did you like this Add Download Timer in Blogger & WordPress  article. So you must tell by commenting in the comment box below. And also want to give some kind of suggestion. So you can share your opinion with us in the comment box below.

Post a comment

0 Comments