• I can make the overwrite work like it wrote here
    https://www.wpdownloadmanager.com/doc/template-files/
    I want to make the download to open new tab, the download are PDF and now they overwrite the tab the download are.
    I upload to
    child-theme/download-mamager/link-templates/
    and
    child-theme/download-mamager/page-templates/
    but it not working.
    I want the [wpdm-all-packages categories="books"]
    button to open new tab and remove the link to the files detail or make the button there also open new tab
    I tried to edit multiple files

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @mstudioil
    Please use the below shortcode with-params which will remove the link to the file details page.
    [wpdm_all_packages categories="books" jstable=1 cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"].
    Also, apply the below code into your themes main script file which should open the downloads in a new window.

    jQuery(function($){
    $('.wpdm-download-link.download-on-click').each(function(){
    $(this).attr('target','_blank');
    });
    });

    However, in the WPDM Pro, there is a dashboard setting that makes it lots easier.
    Thank You

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks for the answer.
    What with the overwrite templates? I uploading files but there is no change

    Hi,
    Copy the related file from /src/Packages/views/link-templates or page-tempaltes to /{active-theme}/download-manager/link-templates or page-templates.
    It should work.
    If it still, doesn’t work please try after changing the theme or by activating the parent theme.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Overwrite templates’ is closed to new replies.