Can I embed a PDF in a guide
I would like to have a link to a pdf that users can access in a guide. I see options to add links, images, and videos, but not pdfs or other file types. Is that possible? Could anyone provide guidance? Thanks!
1
Comments
Hey Par Kaur,
It's not currently possible to embed a PDF into a guide. A workaround might be to include a screenshot of what they might see in the PDF and a link out.
Feel free to submit a feature request for it!
PDF Documents might be too large a form factor to display properly within a Guide, but you should be able to add a Code Block to your guide step and use an iframe tag to display your PDF. I was able to use the following code block to add a PDF to a test guide. I used this article for help: https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html
Thanks everyone! I don't need to show a preview, just a link then when clicked would allow the users to download the pdf. I guess I need to put it in a public URL so I can link it in a guide.
Yes, you can embed a PDF in a guide on WordPress. There are a few different ways to do this, depending on the platform or software you are using to create the guide.
If you are creating a guide in a word processing or desktop publishing software, you can typically insert the PDF file as an object. In Microsoft Word, for example, you can go to the "Insert" tab and choose "Object" from the "Text" group. In the Object dialog box, choose "Create from File" and browse to select the PDF file you want to embed. You can also choose whether to display the PDF file as an icon or as a full page.
If you are creating a guide in a website builder or content management system, you can typically embed the PDF file using an embed code or a file upload. One common method is to use the WordPress Block Editor to embed the PDF file directly into your guide. To do this as I used in one of my client PDF files uploading website, create a new block and select the "File" block. Upload your PDF file and the block will display a link to the PDF. You can also choose to display the PDF inline by selecting the "Embed" option in the block settings.
Please sign in to leave a comment.