custom template removed

in Download Manager Free

Viewing 10 posts - 1 through 10 (of 10 total)
Dec 14, 2021 at 3:42 pm
#165724
Participant
YinYang
OP

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.

Dec 14, 2021 at 3:57 pm
#165735
Spectator
Humayon

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

Dec 14, 2021 at 4:06 pm
#165737
Participant
YinYang
OP

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 4 years, 2 months ago by YinYang.
Dec 14, 2021 at 4:10 pm
#165739
Spectator
Humayon

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.

Dec 14, 2021 at 4:15 pm
#165741
Participant
YinYang
OP

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

Thank you.

Dec 14, 2021 at 4:23 pm
#165743
Spectator
Humayon

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

Dec 14, 2021 at 4:26 pm
#165744
Participant
YinYang
OP

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

Dec 14, 2021 at 4:36 pm
#165746
Spectator
Humayon

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.

Dec 16, 2021 at 2:38 pm
#165818
Participant
YinYang
OP

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

Thank you.

Dec 20, 2021 at 3:01 am
#165872
Spectator
Humayon

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.