{"id":84630,"date":"2018-04-23T08:13:03","date_gmt":"2018-04-23T12:13:03","guid":{"rendered":"https:\/\/www.templatemonster.com\/help\/?p=84630"},"modified":"2018-04-23T08:13:03","modified_gmt":"2018-04-23T12:13:03","slug":"how-to-add-a-pdf-viewer-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-add-a-pdf-viewer-in-wordpress.html","title":{"rendered":"How to add a PDF viewer in WordPress"},"content":{"rendered":"<p>Hello! Today we&#8217;re going to learn how to present your business to the fullest in an easy way. If you have some PDF catalogs of what you&#8217;re working on, it might be a good idea to show that to the world directly on your website.<\/p>\r\n\r\n<p>Unfortunately, WordPress has no default functionality for embedding the PDF files, and that makes the process a bit more complex, but we have you covered! The smart and handy solution is to use the special PDF viewer extension that allows you not to show the PDF file as a link, but to embed it to any page or post. Let&#8217;s learn to how gain this aim. <\/p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<p>First of all, you&#8217;ll need to look up the plugin for extending the default WordPress functionality. Open your website Dashboard, go to the <strong>&#8216;Plugins&#8217; -> &#8216;Add New&#8217;<\/strong> tab and type <strong>&#8216;PDF viewer&#8217;<\/strong> into the search field in the top right corner.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_1-300x175.png\" alt=\"\" width=\"300\" height=\"175\" class=\"aligncenter size-medium wp-image-84631\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_1-300x175.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_1-150x87.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_1.png 618w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Choose the plugin you like the most (we decided to use <strong>&#8216;Embed Any Document&#8217; by AWSM.in<\/strong> for this tutorial). Install and activate the plugin:<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2-300x141.png\" alt=\"\" width=\"300\" height=\"141\" class=\"aligncenter size-medium wp-image-84632\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2-300x141.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2-150x71.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2-768x361.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_2.png 816w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Next, go to the <strong>&#8216;Settings&#8217; ->  &#8216;Embed Any Document&#8217;<\/strong> tab to configure your newly installed extension. For example, you can set the desired width and height for the PDF file area, define whether to Show\/Hide download link, and set the text for the download label. <\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3-300x106.png\" alt=\"\" width=\"300\" height=\"106\" class=\"aligncenter size-medium wp-image-84633\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3-300x106.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3-150x53.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3-768x272.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_3.png 979w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>After configuring the plugin, you&#8217;re fully prepared to start embedding. Open any page or post of your website, and you will see the <strong>&#8216;ADD DOCUMENT&#8217;<\/strong> button at the top of the content &#8211; feel free to use it for embedding your file. The free version of a plugin allows uploading the files from your computer, or adding it using a direct link, while the PRO version (paid one) allows to embed files directly from your Google Drive, Dropbox or Box accounts.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4-300x114.png\" alt=\"\" width=\"300\" height=\"114\" class=\"aligncenter size-medium wp-image-84634\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4-300x114.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4-150x57.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4-768x291.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2018\/04\/How_to_add_a_PDF_viewer_in_WordPress_4.png 1001w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>The resulting shortcode will look similar to this: <strong>[embeddoc url=&#8221;LINK_TO_YOUR_FILE_HERE.pdf&#8221; download=&#8221;all&#8221;]<\/strong><\/p>\r\n\t\t<p>Don&#8217;t forget to update the page and check your changes on a website. That&#8217;s all, well done!<\/p>\r\n\t<\/li>\r\n<\/ol>\r\n\r\n<p>We hope this step-by-step guidance was useful for you. Feel free to check our <a href=\"\/blog\/tag\/wordpress\/\" target=\"_blank\">blog<\/a> to learn more tweaks on how to manage your WordPress website as a guru of the web design!<\/p>\r\n\r\n<p>In case you&#8217;re seeking premium themes to put up your very own website, take a look at <a href=\"https:\/\/www.templatemonster.com\/wordpress-themes.php\" title=\"WordPress Themes\" target=\"_blank\">WordPress Themes<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Today we&#8217;re going to learn how to present your business to the fullest in an easy way.<\/p>\n","protected":false},"author":59,"featured_media":84635,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2017,728],"tags":[1158,512,2644,2405],"class_list":["post-84630","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monstroid-tutorials","category-wordpress-tutorials","tag-add","tag-pdf","tag-viewer","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=84630"}],"version-history":[{"count":3,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84630\/revisions"}],"predecessor-version":[{"id":84670,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/84630\/revisions\/84670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/84635"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=84630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=84630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=84630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}