Download Monitor
[resolved] Open download link in New Window (9 posts)

    Posted 1 year ago #


    I am writing to ask if its possible to have the download link open in a new browser window, rather than download directly to my HD?

    I am using it to upload PDF's and have the title template set, if there is a way to make these PDF's open in a new browser window that would be excellent.

    Thank you!


  2. lisarae
    Posted 1 year ago #

    I also desperately needed to know how to do this!!! I finally found the answer:

    Go to Downloads/Configurations/Custom Output Formats

    Change them to this:

    Download Image
    <img src="{image_url}" alt="{title}" />

    Download Title
    Download {title}

    Posted 1 year ago #

    Hi lisarae,

    Thank you pointing out how to do this.
    However, I cannot find the folder named Configurations or Custom Output Formats.
    Just to be clear, you are referring to the actual files within the plugin and not using the WordPress admin area when you are logged in?

    Which version of the plugin are you using?

    Thank you for your help!

  4. lisarae
    Posted 1 year ago #

    - WordPress Admin Area
    - Left side of page Click on Downloads
    - Then Configurations
    - Then Custom Output Formats
    - You will see a Download Image field and a Download Title Field
    - You need to add to both:
    right after:
    a href="{url}"
    before the closing >
    -save changes

    I copied and pasted the code into the post last time and it remove most of it... I am going to try again but the directions above tell you what to do.

    Download Image
    <a href="{url}"target="_blank"><img src="{image_url}" alt="{title}" /></a>

    Download Title
    Download <a href="{url}" target="_blank">{title}</a>

  5. lisarae
    Posted 1 year ago #

    I am using Version

    Posted 1 year ago #

    I think we might be using different versions since I do not have those options when I access the Downloads section in the WordPress Admin Area.
    I am using Download Monitor Version 1.4.2.

    If I click Downloads on the left side of the page, I am taken to a new page where I can add an item to be downloaded.

    And if I hover over Download, the flyout gives me the following options:
    All Downloads
    Add New

    Inside each of these there still aren't any sections named Configurations or Custom Output Formats.

    Are you able to let me know which version you are using since there seems to be differences.

    Many thanks for your help!

    Posted 1 year ago #

    Oh – your last post updated to reveal the version you are using.
    I see now that you are using the Legacy version.
    I will give that a shot.

    If you happen to figure out who to do this with the current version please let me know.

    Thank you!

  8. andymiller
    Posted 1 year ago #

    I think the answer might be to create a new content template with the magic target="_blank" added to the link. The instructions are here:


    you'll need to read to the end of that section. I haven't tried this.

  9. Ellima
    Posted 8 months ago #

    Hi, Guys,

    I had the same problem from FROM_ROB but I found the SOLUTION.

    You can check here on this site how it works: http://bestaudioeditingsoftware.com/wpressforum

    Here we go!

    1- Go to Plugins > Editor;

    2-After you select the Plugin Download Monitor to edit (Top right dropdown bar);

    3- Select the file "download-monitor/templates/content-download-box.php" listed on link side;

    4- Find the code line "...href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow">" ;

    5 - Here is the code again with XXXXX " href="<?php $dlm_download->the_download_link(); ?>" XXXXXXX " rel="nofollow">";

    6 - Where you see XXXXXX, insert the code (target="_blank")

    7- The Final Code will looks like: href="<?php $dlm_download->the_download_link(); ?>"target="_blank" rel="nofollow">

    I hope I could help you guys.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.