- This topic has 4 replies, 2 voices, and was last updated 5 months, 2 weeks ago by .
Hi, I have a CPT that will include a PDF file.
I want to display that PDF automatically when the single post template is used. ( I.e it is clicked on from a Posts list page)
So if I have a WYSIWYG field and upload the PDF there, then I have a plugin - PDFEmbedder - that adds some code. When the single post is chosen the PDF opens automatically, so no need to click on the PDF.
But I would rather use the PDF uploader field to better limit what the user uploads. However this field does not pick up the PDFEmbedder code and does not automatically open the PDF.
Anyone know how I can get the PDF field to auto load a PDF?
- You must be logged in to reply to this topic.