Page Templates not working

in Download Manager Free

Viewing 4 posts - 1 through 4 (of 4 total)
Jan 20, 2022 at 11:47 pm
#166884
Participant
Sarah Best
OP

I recently installed the free version of Download Manager on my WordPress site, and everything seems to be working fine except page templates. I have selected “Default Template” as the value for “Page Template” in the “Package Settings” area. However, when I view the page (e.g. https://mysite.com/download/my-file), my theme’s single.php file is used instead of your page-template-default.php file.

I am using a custom theme for my WordPress site. Do I need to add something to my single.php file to let WordPress know to use your page templates for download posts?

Jan 21, 2022 at 6:17 am
#166887
Moderator
Nayeem Riddhi
Staff

Hello Sarah,

Hope you are well. The contents from the download files will show via the the_content() functions through your theme single.php file. If you want to customize the appearance of your single.php file for WPDM files/packages, you can use single-wpdmpro.php file creating from your theme and adjust it as your requirements. please let me know if you have more query

Thank you and regards

Jan 24, 2022 at 1:54 am
#166978
Participant
Sarah Best
OP

Thank you, that helped me eliminate some other possible causes. I was already using the_content() in my single.php file, but I was not using the WP loop, which was preventing the template from loading.

Jan 24, 2022 at 7:12 am
#166986
Moderator
Nayeem Riddhi
Staff

Hello Sarah,

I hope the problem has been resolved. please let us know

Thank you and regards

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

The topic "Page Templates not working" is closed to new replies.