css codes in download

in Download Manager Free

Viewing 10 posts - 1 through 10 (of 10 total)
Sep 5, 2022 at 8:02 am
#177527
Member
saeid
OP

hi everybody. i have a problem which some css codes shows under download link, i dont know what is it and how to solve that.

sample of unwanted code shows under download:

.well.c2a3 .btn { padding: 11px 30px; font-size: 11pt; } .well.c2a3 .media-body { font-size: 11pt; } .well.c2a3 .wpdm_icon { height: 42px; width: auto; }

sample link :

آنتی‌ بادی Amyloid A (MC1)


under : دانلود کاتالوگ tab

Sep 5, 2022 at 9:04 am
#177528
Spectator
Tanvir

Hello Saeid,

Thanks for contacting WPDM Support forum.
As you have used a cache plugin, the CSS could come for that reason. In this case, clear cache or remove cache plugin to check if the issue still persists.
Also The CSS could come from the link template you used that is Call to Action 3.
If you tried editing that link template, check if the codes are there.

After checking and removing, if the issue still persist, please provide temporary admin access in a private reply.

Thanks

Sep 5, 2022 at 9:23 am
#177529
Member
saeid
OP

thank dear tanvir, i have cheked my wp rocket plugin is disable. i cant remember that edited this template but how can i change or rewrite it by original codes?

Sep 5, 2022 at 10:03 am
#177531
Spectator
Tanvir

Hello,

You can try changing page template and link template of related downloads to check if the issue persists.
If you are in free version of WPDM you can’t edit link template/page template from wordpress dashboard, in free version, those need to be edited directly from template files. Not sure if you did this.

However, just follow my suggestions and let me know if the issue persists. If it is not solved, please provide temporary admin access in a private reply.

Thanks

Sep 5, 2022 at 10:39 am
#177533
Member
saeid
OP
This reply has been marked as private.
Sep 5, 2022 at 3:45 pm
#177549
Spectator
Tanvir

Hello Saeid,

Found the issue in link template. There was wrong template id of link template. You can check here
I have edited that correctly which solved the issue.

Thanks

Sep 5, 2022 at 4:30 pm
#177552
Member
saeid
OP

thanks for your great support. is it possible to assign 1889 template id to all products? i have about 400 product which has this problem 🙁

Sep 6, 2022 at 5:04 am
#177566
Spectator
Tanvir

Hello,
You can’t bulk update all from WPDM. You used the shortcode in a input of woocommerce. So you have to manually update all the products or you have to use something to bulk update in Woocommerce. Also, you can update that part from database from phpmyadmin. Maybe you updated WPDM from a very old version. That caused the issue.

Thanks

Sep 6, 2022 at 6:02 am
#177569
Member
saeid
OP

thanks, the last question, where can i get the correct shortcode of files? i mean the link template for files, the default shortcode in fles list is not suitble/works for that download tab in product

Sep 6, 2022 at 9:58 am
#177576
Spectator
Tanvir

Hello Saeid,
Glad to see you again.

Here is the ids of link template that are used.
To select any download file you have to use the post id of that file can be found here in the link.
In the example package you used the Call to Action 3 link template and the post id of the file is 1889

Thanks

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

The topic "css codes in download" is closed to new replies.