WordPress.org

Forums

Download Monitor
[resolved] Opening the download in a new TAB (5 posts)

  1. mapdi
    Member
    Posted 2 years ago #

    i work with the do_not_force filter in my functions.php:
    https://github.com/mikejolley/download-monitor/wiki/do_not_force-filter

    everything is fine but i need to open the downoad in a new tab or window ..

    Is it possible?
    http://wordpress.org/plugins/download-monitor/

    btw. @mikejolley
    thanks again for this nice and FREE Plugin!!! i dont understand ratings such ass this!!!
    http://wordpress.org/support/topic/best-s-ever-tell-me-what-is-the-diff?replies=2#post-

    or ass
    http://wordpress.org/support/topic/old-plugin-broke-new-one-is-stripped-down?replies=13#post-

  2. mapdi
    Member
    Posted 2 years ago #

    target="_blank" in the DL-Template did it!

  3. Josh
    Member
    Posted 2 years ago #

    @mapdi

    Could you be more specific on how you did this. Where exactly are you adding the code and exactly which file.

  4. adrianbugaj
    Member
    Posted 1 year ago #

    With my Template it´s not working with target="_blank"

  5. mapdi
    Member
    Posted 1 year ago #

    If u use your own dl-template, you could place it in your chiltheme, e.g.

    content-download-yourtemplatename.php

    e.g. you can place target="_blank" it here:

    ... href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow" target="_blank">...

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags