How to attach a document to your blog in Wordpress is what you need to know when you are struggling to find a way to embed a document in your blog via Wordpress. Because, as you might have already known, Wordpress allows users to embed images, tweets, Youtube videos, and so on in the easiest way by pasting the URL link while writing a blog.
However, when it comes to a document like the PDF file or file from Google Drive, your blog's readers have to download your file when they want to view it. But don't worry about it if you are looking for ways that your users don't have to download anything while viewing your documents.
Follow the instructions below to solve your problems for good.
1. Embed documents via Embed Any Document plugin
By using the Embed Any Document function, you are able to embed any documents in your blog with that Wordpress functionality.
For starters, you have to install and activate the “Embed Any Document” plugin in Add New section.
Then, you need to configure the plugin’s settings. By going to this, you can customize the width and height of the embed on your site and choose whether to show a download link for everyone, logged in users only or no download link at all.
This method requires people with pretty complicated steps. What's more, you can only have the choice to upload or add a document from the URL link without paying a fee. In case you want to attach a document located in Google Drive or Dropbox, you have to pay an extra fee to get the pro version. Hence, I will not recommend you to follow this method while adding documents to your blog.
If you still want to know more about this method of adding documents to your blog, contact us to get a detailed tutorial.
There is still another easier way to add documents for you to practice: "via Google Drive"
2. Embed documents from Google Drive
As you have already known, Google Drive stores many types of documents, you can embed them via Google Drive into your blog.
To be able to do that, make your file public by clicking Get shareable link at first.
Hit double click at this shared document in your Drive, it will direct you to a preview. From the options menu which is illustrated by a vertical bar with three dots, Click Open in new window.
In like manner in the new window, click Embed item from the options menu.
Lastly, copy the code and paste it into your blog. One more thing to remember that you must replace drive.google.com with docs.google.com
So no you have your documents attached to your blog in Wordpress.
Conclusion
That was the end of the article today about embedding documents to your blog in Wordpress. These are simple steps but I do recommend you to follow the method with Google Drive. All you need to do now is to practice the above instructions and let us know if you have any problems or need help.
We are glad to hear more from you, therefore, don’t hesitate to leave us a comment whenever you want.