One of my friend asked me that how he can embedd a pdf file in a page in wordpress website and also be available for download.
Let me show you how i did this by using a simple wordpress plugin.
The plugin we are going to use here is Google Doc Embedder
Download the plugin from wordpress plugin directory or just go to dashboad > Plugins > Add New and search for Google Doc Embedder.
Install the plugin and activate it.
After activating the plugin go to the post or page where you want to embedd the pdf file and use the following code
replace the red text with actual pdf url and publish the post.
Enjoy ;-)
Let me show you how i did this by using a simple wordpress plugin.
The plugin we are going to use here is Google Doc Embedder
Download the plugin from wordpress plugin directory or just go to dashboad > Plugins > Add New and search for Google Doc Embedder.
Install the plugin and activate it.
After activating the plugin go to the post or page where you want to embedd the pdf file and use the following code
[gview file= "http://url.to/file.pdf" ] |
replace the red text with actual pdf url and publish the post.
Enjoy ;-)
0 Comments