Embed a Document into a WordPress with Google Docs

A client today wanted a way to embed a PDF into a post but not make it a link. I first investigated creating a attachment page template using this tutorial¬†http://wp.tutsplus.com/tutorials/creative-coding/sharing-the-wordpress-love-with-non-image-media-attachments/, but I didn’t like that implementation. I wanted the file to be in the actual post and not have to click over to the attachment page. Plus I wanted a plugin and not have to build it.

I found this plugin.

Google Doc Embedder

This thing is great.
This plug-in currently can embed the following:
  • Adobe PDF
  • Microsoft Word (DOC/DOCX)
  • Microsoft PowerPoint (PPT/PPTX)
  • Microsoft Excel (XLS/XLSX)
  • TIFF Images
  • Apple Pages (PAGES)
  • Adobe Illustrator (AI)
  • Adobe Photoshop (PSD)
  • Autodesk AutoCad (DXF)
  • Scalable Vector Graphics (SVG)
  • PostScript (EPS/PS)
  • TrueType (TTF)
  • XML Paper Specification (XPS)
  • Archive Files (ZIP/RAR)

What’s great about this is you do not have to upload your document to Google Docs. You can upload it to your post and then you just need to use the button on the tinyMCE to insert a shortcode. You can also disable the link for downloading if you want. Which I have done on this post

Here is a PDF for your enjoyment: (3.5mb PDF .. please wait for it to load)

[gview file=”https://yourlocaltech.com/wp-content/uploads/2012/04/bourbon_for_breakfast.pdf” save=”0″ authonly=”1″]


  1. Loren Nason on May 3, 2012 at 5:04 pm

    Well this plugin worked … now it doesn’t

  2. Loren Nason on May 3, 2012 at 5:15 pm

    found the problem.
    If you are logged into more than one Google account you could have an issue. Or maybe it was because the 2nd account I was logged into was stale and needed to be re-logged into

  3. blackberry curve screen replacement on May 15, 2012 at 2:34 am

    I blog often and I truly thank you for your content.
    This article has truly peaked my interest.
    I am going to book mark your website and keep checking for new information about once per
    week. I subscribed to your RSS feed as well.

Leave a Comment