Title: Overwrite templates
Last modified: October 11, 2021

---

# Overwrite templates

 *  [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/overwrite-templates-2/)
 * I can make the overwrite work like it wrote here
    [https://www.wpdownloadmanager.com/doc/template-files/](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)

 *  [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * (@humayonk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/overwrite-templates-2/#post-14961052)
 * Hi [@mstudioil](https://wordpress.org/support/users/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](https://prnt.sc/1vt9zhk)
   that makes it lots easier.
    Thank You
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/overwrite-templates-2/#post-14961934)
 * Thanks for the answer.
    What with the overwrite templates? I uploading files 
   but there is no change
 *  [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * (@humayonk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/overwrite-templates-2/#post-14962337)
 * 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.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/overwrite-templates-2/#post-14962337)
 * Status: not resolved