Different template per attachment type
-
Hi,
Is it possible to have a different Attachment Template based on the attachment type?
I am using the Embed Any Document plugin to display attachments in the posts, and the shortcode in Posties attachment template looks like this:
[embeddoc url=”{FILELINK}” download=”all” viewer=”microsoft”]
Users send either ODT or PDF files with their posts, but neither preview provider that EAD uses supports both formats, so I was hoping to have a different shortcode for PDF’s using Google:
[embeddoc url=”{FILELINK}” download=”all” viewer=”google”]
If it’s not possible, then thank you for a great plugin anyway.
Eoin
The topic ‘Different template per attachment type’ is closed to new replies.