There are people who are struggling for showing PDF file in there wordpress post. Please use following steps for show pdf in post wordpress.
show pdf in post wordpress
1) Go to media -> Add New, upload a file. Once file is uploaded, you will get File URL. Copy that file URL. (Let me call it MY_PDF_URL)
This will be a complete URL, with http://yourdomain.com in it..
2) Now, go to add new post and switch to html editor. Place this code where you want to show the pdf file….
[viral-lock message=”Solution code is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]
<embed src="MY_PDF_URL" width="600" height="400">
This will work smoothly. OR you can use following code as well.
<iframe src="http://docs.google.com/gview?url=https://purabtech.in/wp-content/uploads/yourpdf.pdf&embedded=true" style="width:880px; height:1200px;" frameborder="0">
[/viral-lock]
There are also nice wordpress plugins for showing the PDF in wordpress posts.
Embed PDF
Will embed a PDF file using Google Docs Viewer Simply include the URL for a PDF document on it’s own line, or wrapped in the embed tag like
and the plugin will embed the PDF into the page using the Google Docs Viewer embed code. The url must end with
.pdf
Supported attributes in the embed tag are class
id
title
height
and width
GroupDocs Word, Excel, Powerpoint, Image and PDF Annotate
GroupDocs Annotation lets you embed several types of files into your WordPress pages using the GroupDocs Viewer – allowing inline viewing and annotation of the following file types, with no Flash or PDF browser plug-ins required:
- Adobe Acrobat (PDF)
- Microsoft Word (DOC/DOCX)
- Microsoft Excel (XLS/XLSX)
- Microsoft PowerPoint (PPT/PPTX)
GroupDocs Annotation lets you view and comment on documents online. Its document annotation features makes it a powerful tool for collaboration. You and your colleagues can collaborate on a document, at the same time, to improve communication and speed up document reviews. GroupDocs Annotation lets you work with text-based documents as well as images. You can collaborate on layouts, drawings and designs just as effectively as on articles, stories and corporate documents. In short GroupDocs Annotation lets you annotate on many file formats including PDF’s, Word documents, Excel documents, Powerpoint documents and many other available formats.
for showing flash intro in sites and flash with wordpress website, we have written article. You might need for your website.
Is there any other plugins available
There is plugin called PDF & Print – https://wordpress.org/plugins/pdf-print/ which is good
Their is a free plugin known as WPPDF that allows you to view and Publish PDF in your wordpress blog.
Excellent post. I was checking constantly this blog and
I am impressed! Extremely helpful info particularly the last part 🙂 I care for such info much.
I was seeking this particular information for a long time.
Thank you and good luck.
Howdy terrific blog! Does running a blog similar to this
require a massive amount work? I’ve very little understanding of computer programming but I had been hoping to start
my own blog soon. Anyways, should you have any suggestions or tips
for new blog owners please share. I understand this is off subject but I just needed to ask.
Thank you!