title: Trying To Create WordPress Download page
body: <p>I am trying to create a separate download page in WordPress when the visitor clicks on a download link, it will be redirected to a download page with a counter.</p>
  <p>I don't know what is the missing part in the below code!</p>
  <p>Any help appreciated :)</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form action="https://www.example.com/download-page" method="post" target="_blank"&gt;
    &lt;input name="downloadfile" value="https://www.mhotspot.com/mHotspot_setup_4.exe" type="hidden"&gt;
    &lt;p&gt;&lt;/p&gt;
    &lt;div align="center"&gt;
      &lt;input 
        class="aligncenter wp-image-1496" 
        alt="submit" 
        src="https://www.softloris.com/wp-content/uploads/2020/01/download-button.png" 
        type="image" 
        width="250" 
        height="auto"&gt;
    &lt;/div&gt;
    &lt;div align="center"&gt;&lt;/div&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>