Disable “open” functionality for files


I created a shortcode with only “download” functionality. But in the loaded file manager there is also the “open” functionality, that I would like to disable; even for the double-click on files I’d like to do a direct download without opening file in a new tab.

Is there the possibility to do so? Or if this is not possible can I hide the file url in some way?

Thanks in advance for help!

Best regards


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer