Tell us what you are trying to do? I'm building a document management system with toolset and want to be able to use a PDF viewer to show a PDF files that are uploaded on the custom post.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hi,
Thank you for contacting us and I'd be happy to assist.
The Toolset plugins don't include a built-in PDF viewer feature. However, you can use a 'File' type custom field from Toolset Types to store the PDF file's URL and then use any third-party PDF viewer plugin to display that on the front end.
To get the custom field value from the file type field, you can use the Types Fields API shortcode like this:
( ref: https://toolset.com/documentation/customizing-sites-using-php/functions/#file )
[types field='file-field-slug' output='raw'][/types]
Note: You'll replace 'file-field-slug' with the actual slug of your custom field.
Here is an article that reviews some of the popular PDF viewer plugins:
hidden link
regards,
Waqar