Preview PDF with Link Template?

in Download Manager Free

Viewing 8 posts - 1 through 8 (of 8 total)
Nov 19, 2021 at 3:58 pm
#164799
Participant
Philip Wels
OP

I have a page called news. Each week someone uploads a pdf of the latest news to the site. On this page I would like to show a preview of the newest upload in the news category and allow users to download it. This preview should automatically update when a new pdf is uploaded.

I have purchased the PDF Viewer plugin, but I cannot see how to add a category with a preview to an existing page.

Nov 19, 2021 at 4:38 pm
#164800
Spectator
Humayon

Hello @mrbobdobolina,
Greetings for the day!
In order to show a single pdf preview please use template tag [doc_preview] in your corresponding page template.
Also, you will find more details on the below add-on page.
https://demo.wpdownloadmanager.com/wpdmpro/download/pdf-viewer/
Thanks.

Nov 19, 2021 at 4:53 pm
#164801
Participant
Philip Wels
OP

I’m currently unable to edit/create templates (it tells me I need Pro to clone a template.)

There is a page template called “Single Column with Doc Preview” but when I am adding a file to a page, I don’t see any page template options, I only see “link templates.”

Do I need Pro for this feature? (I’m hesitant to purchase Pro without knowing it can do what I need it to do.)

Nov 19, 2021 at 5:07 pm
#164802
Spectator
Humayon

Sorry for the inconvenience.
You can set page template by editing a package and setting a page template by following this.
You don’t need to purchase the Pro version as you should be able to edit a related page template by following the below instructions.

Template Files


However, With WPDM Pro you can edit page/link templates easily from the dashboard.
Let me know if you need further assistance regarding this matter.
Thanks.

Nov 19, 2021 at 9:06 pm
#164805
Participant
Philip Wels
OP

I’m trying really hard to follow these instructions and it seems very complicated… Isn’t there a shortcode I can put on a page (that’s already created) that will display the latest upload in a certain category? (As a preview?)

Something like [wpdm_category id="2021-announcements," cols="1" toolbar=0 item_per_page=1 template="doc_preview"] ?

Nov 20, 2021 at 7:48 am
#164812
Spectator
Humayon

Hi,
Don’t worry I will try my best to help you.
[doc_preview] is a template tag that you can’t use directly on a post/page.
Here please follow this screencast I just made for you.
I hope now you should be able to solve this issue.
However, if still, you need further assistance then please provide us with your temporary wp-admin login details and site URL in a private reply so that I can set it up for you.
Also, please share the related page/file/package URL with us where the issue exists.
Best Regards

Nov 20, 2021 at 1:48 pm
#164821
Participant
Philip Wels
OP

Thank you. This was helpful and I now understand what I need to do.

Nov 21, 2021 at 4:12 am
#164831
Spectator
Humayon
This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)

The topic "Preview PDF with Link Template?" is closed to new replies.