custom template removed

Viewing 10 posts - 1 through 10 (of 10 total)
#165724

YinYang
Participant

Hi, I’ve created a custom template for render my download links, but since the last update of wp download manager, my custom template has been replaced by another template.

By watching my custom wpdm-all-downloads.php file, apparently nothing has been changed.

How can I retrieve my custom template ?

Thank you.

#165735

Humayon
Moderator

Hello,

Hope you are well.

Have you followed the below instruction to customize your template files?

Template Files

If not then it will be wiped with the latest update and will not be recoverable.

Thanks

#165737

YinYang
Participant

Hi,

yes, it is the right folders structure, and before the update, it was my custom template that was taken into account. But since the update, it is not the case anymore.

Here is the structure of my folders in my worpdress theme:

download-manager/
    > link-templates/
        > files....php
    > page-templates/
        > files....php
    page-template-default.php
    wpdm-all-downloads.php

I checked, my wpdm-all-downloads.php file is my custom template, but it doesn’t seem to be taken into account as default template.

Thanks to you.

  • This reply was modified 2 years, 4 months ago by YinYang.
#165739

Humayon
Moderator

Hi,

Only link or page template files should be customizable not the wpdm-all-downloads.php file.
As it’s described in the docs /{active-theme}/download-manager/link-templates.

Thanks.

#165741

YinYang
Participant

ok, but my file structure never changed, and it used to work fine. So why since the update did it jump?

Thank you.

#165743

Humayon
Moderator

Hello,

Not sure about it as no one claimed it yet. Maybe by somehow/someone, it got deleted mistakenly.

But I can ensure you that if you maintain the page/link-template structure then it will not be removed with the future update.

Hope you understand.

Regards

#165744

YinYang
Participant

I’m the one who manages this site, and I didn’t delete anything.
I need to change the structure of the table, because it doesn’t suit me, for example, to delete the thead. How can I do that?

Thanks

#165746

Humayon
Moderator

Hi,

wpdm-all-downloads.php is now all-packages-shortcode.php located under the download-manager/src/package directory in the latest version and I think you should be able to customize it.

You have updated from the very old version right? as code structure has been changed in the latest version.

Thanks.

#165818

YinYang
Participant

Thank you, It’s fixed. How can I hide the pagination is some place of the website ? By the shortcode ?

Thank you.

#165872

Humayon
Moderator

Hi,

In that case please use the below CSS which will resolve your issue.

.wpdmdt-toolbarb {
    display: none;
}

Let us know if you need further assistance regarding this matter.

Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘custom template removed’ is closed to new replies.