Custom download page
Finally I solve the problem. Here the code bellow for download button. Put this code into your post loop it will show a download button. <form action=”<?php echo esc_url( home_url( ‘/your_redirected_page_slug’ ) ); ?>” method=”GET” id=”form1″> <?php global $post; //$post_slug=$post->post_name; ?> <input id=”myButton” type=”submit” name=”a” value=”Download” class=”single-download-button” /> <input type=”hidden” name=”appk” id=”mkval” value=”<?php echo get_the_ID(); … Read more