Open a post that looks like you want and view the HTML editor. Then use that as the basis for your attachment template in Postie.
Wow great. Thank you.
I was thinking about that option, but I didn’t know that that editor existed.
This did solve my issue!
Thanks Wayne for your response to this. Unfortunately I do not understand what you mean by open a post that looks like you want. I have the same problem as Mike. I would like the pdf to be embedded and immediately seen in the post rather than having a link. Is this possible or is there an add-on I can buy to do this? I do not have an existing post that looks like I want; I just want the pdf to be seen immediately and not as a link.
Hi @bid19,
I’ve fixed it with this code:
[embeddoc url="{FILELINK}" download="all" viewer="google" width="100%" height="100%"]
I’m not sure if this works from scratch (you can try) or that it’s enabled by a plugin that I already have on this site…
Good luck!
Thanks Mike,
Sorry for my ignorance here but where do I place that code; is it in the body of the email?
Thanks
Alan
In WP-Admin. Click on Postie and go to ‘Attachments’ tab. At Attachment template there is a preview field. There you must paste this.
Hi Mike,
That did not work for me. I just got this message for the post.
default_charset: WARNING no default_charset set see http://php.net/manual/en/ini.core.php#ini.default-charset
Are you using another plugin to read the template?
Thanks
Alan
Maybe, I don’t know. I didn’t build this site from scratch…. But what you must do is first try to make it work to include a regular PDF in a regular post/page. And after that you ‘translate’ this to something variable….
You can try the plugin PDF Embedder (Google it for more support) but that can (after install) be called this way:
[pdf-embedder url="https://mysite.com/wp-content/uploads/2015/01/Plan-Summary.pdf"]