Wordpress is one of the best CMS for file and content uploads and downloads, because of it's easy use and stability a lot of content creators from different segment make use of wordpress. If you ever wanted an onclick download of file on your wordpress site instead of opening on a new tab, keep reading as i will show you a very simple way to do that.
How To Onclick Download Files on Wordpress
Below is a guide on how to enable instant downloads of files in your wordpress site instead of displaying or playing them on a new tab.
How To Force File Download in WordPress via Htaccess
In other to enable direct file downloads, add the below line of code below in the end of your .htaccess file