Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Shahriar Alam

    (@shahriar0822)

    Not sure where you want to do that.

    Do you want it in All Packages page? No option yet to do that yet there.

    Let me know specifically, so we might add that feature in future release.

    Thread Starter 247web

    (@247web)

    Want to open a new window /tab for any link to a file that is inside DM e.g. how do i edit the standard default link template to add “_blank” everywhere I specify it?

    I do not want long documents or files to open on the same page that the user is reading.

    Thanks

    I have been searching for an answer to this as well. I cannot find an option anywhere in the settings, or on the individual file settings to indicate that the PDF or file should open in a new window. So, right now, our website visitors are being taken AWAY from our website every time we include a link to a file. That’s it. One click — and they’re gone.

    I can see that this plugin has been around for awhile… had many revisions, and downloaded more than a million times. And I’m just curious… in all that time… it never occurred to you… um… EVER… to simply add an “Open in New Window” option? I mean — you never thought “the user’s of my plugin might want to open these resources in a new window.” Never? EVER?

    For now — I am going to write a jQuery hack to fix this.
    And post it for all of your other 1 Million Plus users who must be wondering… “Where is that option to… ?”

    But I am simply just suggesting that this is, well… it’s just the most obvious, common, necessary option imaginable for ANY “Link to Resource” plugin. I spent quite a while searching for where you must have hidden it.

    It AMAZES me that it wasn’t the very 1st checkbox you ever added when building the plugin’s admin area. I think it was probably the very 1st Option added to the <a> tag the day after it was invented in HTML…

    Just saying. ??

    Best Regards…

    XIMBALO

    Everyone —

    In case you too are one of the 1,298,913 people, who like me, have spent alot of time looking for, and wondering: “Where is the Open in a New Tab Option? Really? No… Really?” then just add this code where possible to your WP site footer:

    <script type="text/javascript">
    jQuery(document).ready(function($) {
    	// Open WPDM Links in new page
    	$('.w3eden .link-btn .wpdm-download-link').attr('target' ,'_blank');
    });
    </script>

    Example Link ?

    XIMBALO

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Force new window or tab for all linked files’ is closed to new replies.