Skip Navigation

[Resolved] Display uploaded PDF file

This thread is resolved. Here is a description of the problem and solution.

Problem:
Display uploaded PDF file

Solution:
To preview/display the PDF file in browser - the best way is to install the "pdf-embedder" plugin:

[pdf-embedder url="[types field='your-pdf-field' output='raw'][/types]"]

Relevant Documentation:
=> https://wordpress.org/plugins/pdf-embedder

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by nickK-7 6 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1092873

Tell us what you are trying to do? --> I like to display a uploaded pdf file on the page

Is there any documentation that you are following? --> i searched yourw website, but i found only something about displaying the thumbnails.

Is there a similar example that we can see? --> no?

What is the link to your site? --> not live yet

#1092918

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - do you mean that you want to display the thumbnail of uploaded PDF file?

#1092929

No i want to display the whole pdf file with the title above and different information below. Meanwhile I have made a custom divi template layout so the only thing left is displaying the pdf...

#1093032

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok - so you want to preview the PDF file in browser.

Well - to preview/display the PDF file in browser - the best way is to install the following plugin:
=> https://wordpress.org/plugins/pdf-embedder

And use the shortcode as given under:

[pdf-embedder url="[types field='your-pdf-field' output='raw'][/types]"]
#1093718

Perfectly solved my problem!