Support » Plugin: WordPress Download Manager » How to become opening the download in a new tab/window

  • Resolved manuelherb

    (@manuelherb)


    I use the default link template, but i want that the downloads open in a new tab/window instead of leaving the webpage.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Please modify the file plugins/download-manager/tpls/link-templates/link-template-default.php and change line 8 <div><strong>[download_link_extended]</strong></div> replace with <div><strong><a target="_blank" href="[download_url]">Download</a></strong></div>
    Hope this help.
    Thanks

    @ihemel this is a modification of the core templates in the plugin, you would loose all changes when updating the plugin.

    Plugin Author Shahjada

    (@codename065)

    To keep your changes intact, please create a dir named download-manager inside your active theme dir, then copy all files from plugins/download-manager/tpls/ to active-theme/download-manager and modify. Doc: https://www.wpdownloadmanager.com/doc/template-files/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to become opening the download in a new tab/window’ is closed to new replies.