1. Home
  2. Knowledge Base
  3. Advanced
  4. Open download links in new window

Open download links in new window

If you want the to open the downloaded file in new window here is what you need to do:

  • Edit your download > scroll down to ‘Download Options’ > check the ‘Redirect to file’ option > Update the download.

All downloads use a template. To see which template your downloads are using go to Downloads > Settings > General > Default Template > and see which template is selected. You can also select a different one. In the example below, ‘Button’ is selected.

  • You need to override the template ‘button’ as per the example above. See here how to override templates. The only change you need to make is adding the attribute target="_blank" on the HTML element a.
Was this article helpful?

Related Articles

Start Protecting your WordPress Downloads

Protect and track downloads on WordPress... What are you waiting for?