{"id":112696,"date":"2019-11-13T11:11:38","date_gmt":"2019-11-13T11:11:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/office-viewer\/"},"modified":"2026-10-24T03:33:38","modified_gmt":"2026-10-24T03:33:38","slug":"embed-office-viewer","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/embed-office-viewer\/","author":22028296,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.4.2","stable_tag":"2.4.2","tested":"7.1.3","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Document Viewer - Embed and Display Office and PDF Files","header_author":"bPlugins","header_description":"You can Embed Microsoft Word, Excel And Powerpodint File in wordpress Using Office Viewer Plugin.","assets_banners_color":"cdcefd","last_updated":"2026-10-24 03:33:38","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.buymeacoffee.com\/abuhayat","header_plugin_uri":"http:\/\/bplugins.com","header_author_uri":"http:\/\/bPlugins.com","rating":4.7,"author_block_rating":4.2222222222222,"active_installs":2000,"downloads":58439,"num_ratings":52,"support_threads":0,"support_threads_resolved":0,"author_block_count":65,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"abuhayat","date":"2019-12-06 06:29:45","revision":2206997},"1.0.1":{"tag":"1.0.1","author":"abuhayat","date":"2020-10-31 20:17:45","revision":2410433},"1.1":{"tag":"1.1","author":"shehabulislam","date":"2024-04-08 11:09:32","revision":3066830},"2.0.1":{"tag":"2.0.1","author":"shehabulislam","date":"2024-04-08 11:09:32","revision":3066830},"2.2.10":{"tag":"2.2.10","author":"taninrahman","date":"2025-05-10 04:45:49","revision":3290767},"2.2.4":{"tag":"2.2.4","author":"shehabulislam","date":"2024-04-08 11:09:32","revision":3066830},"2.2.6":{"tag":"2.2.6","author":"shehabulislam","date":"2024-04-08 11:09:32","revision":3066830},"2.2.8":{"tag":"2.2.8","author":"shehabulislam","date":"2024-07-04 05:39:28","revision":3112115},"2.2.9":{"tag":"2.2.9","author":"shehabulislam","date":"2025-01-12 14:52:14","revision":3221095},"2.3.0":{"tag":"2.3.0","author":"taninrahman","date":"2025-05-18 06:53:31","revision":3295595},"2.3.1":{"tag":"2.3.1","author":"taninrahman","date":"2025-09-21 10:24:35","revision":3365217},"2.3.2":{"tag":"2.3.2","author":"taninrahman","date":"2025-10-30 04:42:34","revision":3386793},"2.3.3":{"tag":"2.3.3","author":"taninrahman","date":"2026-05-13 03:45:25","revision":3530472},"2.4.0":{"tag":"2.4.0","author":"taninrahman","date":"2026-06-03 09:42:28","revision":3559118},"2.4.1":{"tag":"2.4.1","author":"bplugins","date":"2026-07-26 11:11:59","revision":3623277},"2.4.2":{"tag":"2.4.2","author":"taninrahman","date":"2026-10-24 03:33:38","revision":3762701}},"upgrade_notice":{"2.4.2":"<p>Security update. The bundled Freemius SDK has been updated to patch known vulnerabilities. All users are encouraged to update.<\/p>","2.4.0":"<p>Rebuilt block settings, a unified rendering engine for the block and shortcode, and fixes for content protection bypasses. Your existing documents and shortcodes are unchanged.<\/p>"},"ratings":{"1":4,"2":0,"3":0,"4":1,"5":47},"assets_icons":{"icon-128x128-old.png":{"filename":"icon-128x128-old.png","revision":3623277,"resolution":"128x128","location":"assets","locale":"old","width":256,"height":256},"icon-128x128.png":{"filename":"icon-128x128.png","revision":3623277,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3623277,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3623277,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3623277,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3623277,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"eov\/embed-office-viewer":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"eov\/embed-office-viewer","version":"2.4.2","title":"Document Viewer","category":"widgets","description":"You can Embed Microsoft Word, Excel And Powerpodint File in wordpress Using 'Document Viewer for Office' Plugin.","keywords":["embed document block","block","pdf viewer","display document","document","office file","any document viewer","Show document"],"textdomain":"eov","attributes":{"align":{"type":"string","default":""},"officeViewer":{"type":"object","default":{"docSource":"library","viewer":"google","dropboxURL":"","googleDriveURL":"","officeFile":"","height":"500px","width":"100%","disablePopout":false,"showFileNameOnTop":false,"showDownloadBtnOnTop":false,"disableRightClick":false,"disableFullScreen":false,"isRemoveDownloadBtn":false,"isRemoveFullScreen":false}}},"supports":{"align":["wide","full"],"html":false,"interactivity":true},"example":{"attributes":{}},"editorScript":["file:.\/index.js","wp-api"],"editorStyle":"file:.\/index.css","style":"file:.\/view.css","render":"file:.\/render.php","viewScript":["file:.\/view.js","react","react-dom"]}},"tagged_versions":["1.0","1.0.1","1.1","2.0.1","2.2.10","2.2.4","2.2.6","2.2.8","2.2.9","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.4.1","2.4.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3672066,"resolution":"1","location":"assets","locale":"","width":1280,"height":960},"screenshot-10.jpg":{"filename":"screenshot-10.jpg","revision":3672066,"resolution":"10","location":"assets","locale":"","width":1280,"height":960},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3672066,"resolution":"2","location":"assets","locale":"","width":1280,"height":960},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3672066,"resolution":"3","location":"assets","locale":"","width":1280,"height":960},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3672066,"resolution":"4","location":"assets","locale":"","width":1280,"height":960},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3672066,"resolution":"5","location":"assets","locale":"","width":1280,"height":960},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3672066,"resolution":"6","location":"assets","locale":"","width":1280,"height":960},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":3672066,"resolution":"7","location":"assets","locale":"","width":1280,"height":960},"screenshot-8.jpg":{"filename":"screenshot-8.jpg","revision":3672066,"resolution":"8","location":"assets","locale":"","width":1280,"height":960},"screenshot-9.jpg":{"filename":"screenshot-9.jpg","revision":3672066,"resolution":"9","location":"assets","locale":"","width":1280,"height":960}},"screenshots":{"1":"A Word document embedded on a page, rendered by Microsoft's own Office Web Viewer, so tables, fonts and layout stay exactly as you saved them.","2":"An Excel spreadsheet embedded in a post, with columns and formatting intact.","3":"The Document Viewer block: upload a file or paste a URL, pick a viewer and set the size, all in the sidebar.","4":"Block settings grouped into four panels: Document Source, Viewer Engine, Display Dimensions and Security Restrictions.","5":"Copy the shortcode from the document screen and paste it into any post, page or page builder."}},"plugin_section":[],"plugin_tags":[2184,125982,283570,283569,283568],"plugin_category":[50],"plugin_contributors":[226291,78154,237436],"plugin_business_model":[],"class_list":["post-112696","plugin","type-plugin","status-publish","hentry","plugin_tags-document-viewer","plugin_tags-embed-document","plugin_tags-embed-powerpoint","plugin_tags-embed-word","plugin_tags-office-viewer","plugin_category-media","plugin_contributors-bplugins","plugin_contributors-freemius","plugin_contributors-taninrahman","plugin_committers-abuhayat","plugin_committers-bplugins","plugin_committers-sakiladnan","plugin_committers-shehabulislam","plugin_committers-taninrahman","plugin_support_reps-shehabulislam"],"banners":{"banner":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/banner-772x250.png?rev=3623277","banner_2x":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/banner-1544x500.png?rev=3623277","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/icon.svg?rev=3623277","icon":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/icon.svg?rev=3623277","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-1.jpg?rev=3672066","caption":"A Word document embedded on a page, rendered by Microsoft's own Office Web Viewer, so tables, fonts and layout stay exactly as you saved them."},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-2.jpg?rev=3672066","caption":"An Excel spreadsheet embedded in a post, with columns and formatting intact."},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-3.jpg?rev=3672066","caption":"The Document Viewer block: upload a file or paste a URL, pick a viewer and set the size, all in the sidebar."},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-4.jpg?rev=3672066","caption":"Block settings grouped into four panels: Document Source, Viewer Engine, Display Dimensions and Security Restrictions."},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-5.jpg?rev=3672066","caption":"Copy the shortcode from the document screen and paste it into any post, page or page builder."},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-6.jpg?rev=3672066","caption":""},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-7.jpg?rev=3672066","caption":""},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-8.jpg?rev=3672066","caption":""},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-9.jpg?rev=3672066","caption":""},{"src":"https:\/\/ps.w.org\/embed-office-viewer\/assets\/screenshot-10.jpg?rev=3672066","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Embed Word, Excel and PowerPoint files that look exactly like the original.<\/strong><\/p>\n\n<p>Document Viewer lets you embed a Word document, Excel spreadsheet, PowerPoint presentation or PDF file on any WordPress page or post. Your visitors read it right in the browser. They do not download anything, they do not need Microsoft Office, and you do not convert anything.<\/p>\n\n<p>The difference is who renders the file. Many embed plugins push your .docx or .xlsx through a third-party converter, and complex layouts come out broken: tables collapse, fonts change, slides lose their layout. Document Viewer uses <strong>Microsoft's own Office Web Viewer<\/strong>, the same engine behind Office Online. A .docx looks like a .docx. An .xlsx keeps its columns. A .pptx keeps its slides.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/document-viewer\/#demos\"><strong>Live Demo<\/strong><\/a> | <a href=\"https:\/\/bplugins.com\/products\/document-viewer\/pricing\"><strong>Pricing<\/strong><\/a> | <a href=\"https:\/\/bplugins.com\/support\/\"><strong>Support<\/strong><\/a><\/p>\n\n<h3>Two viewer engines, both free<\/h3>\n\n<ul>\n<li><strong>Microsoft Office Web Viewer:<\/strong> the best choice for Word, Excel and PowerPoint. Formatting, tables, charts and slide layouts stay intact because Microsoft renders them.<\/li>\n<li><strong>Google Docs Viewer:<\/strong> a good fallback, and it handles PDF well.<\/li>\n<\/ul>\n\n<p>Switch between them with a dropdown. No account and no API key needed for either.<\/p>\n\n<h3>Supported file types<\/h3>\n\n<ul>\n<li><strong>Word:<\/strong> .doc, .docx<\/li>\n<li><strong>Excel:<\/strong> .xls, .xlsx<\/li>\n<li><strong>PowerPoint:<\/strong> .ppt, .pptx<\/li>\n<li><strong>PDF:<\/strong> .pdf<\/li>\n<\/ul>\n\n<p>Add files from your Media Library or paste a direct URL.<\/p>\n\n<h3>Why people choose Document Viewer<\/h3>\n\n<ul>\n<li><strong>A spreadsheet that still looks like a spreadsheet.<\/strong> Google's viewer often flattens Excel formatting. Microsoft's does not.<\/li>\n<li><strong>No conversion step.<\/strong> You do not turn a .docx into a PDF or an HTML table first. Upload the file you already have.<\/li>\n<li><strong>Nothing for visitors to install.<\/strong> The document opens in the browser, on a phone as easily as on a desktop.<\/li>\n<li><strong>Works with any builder.<\/strong> The Gutenberg block for the Block Editor, the <code>[office_doc]<\/code> shortcode for everything else.<\/li>\n<li><strong>Small and focused.<\/strong> One shortcode, one block, a handful of settings. If you need a document library, a flipbook and sixteen file formats, see Document Embedder below.<\/li>\n<\/ul>\n\n<h3>Who uses it, and for what<\/h3>\n\n<ul>\n<li><strong>Schools, teachers and training sites:<\/strong> handouts, worksheets and slide decks students read in the browser.<\/li>\n<li><strong>Theatre, events and clubs:<\/strong> schedules, scripts and rotas shared with cast, crew and members.<\/li>\n<li><strong>Accountants and consultants:<\/strong> rate cards and spreadsheets a client can read without downloading.<\/li>\n<li><strong>Councils, churches and associations:<\/strong> minutes, forms and policies published as the Word files they already keep.<\/li>\n<li><strong>Businesses and internal pages:<\/strong> a price list, menu or process document on a public or members-only page.<\/li>\n<\/ul>\n\n<h3>Add a document in under a minute<\/h3>\n\n<p><strong>With the Gutenberg block<\/strong><\/p>\n\n<ol>\n<li>Open any post or page in the Block Editor.<\/li>\n<li>Add the <strong>Document Viewer<\/strong> block.<\/li>\n<li>Upload a file or paste a URL, choose the viewer, set the size.<\/li>\n<\/ol>\n\n<p>Block settings are grouped into four clear panels: Document Source, Viewer Engine, Display Dimensions and Security Restrictions. No hunting through one long sidebar.<\/p>\n\n<p><strong>With the shortcode<\/strong><\/p>\n\n<p>Use <code>[office_doc]<\/code> anywhere shortcodes run, including the Classic Editor, widgets, Elementor, Divi, Bricks, WPBakery, Beaver Builder and Oxygen. Generate the shortcode from the document's edit screen and paste it in.<\/p>\n\n<h3>Free features<\/h3>\n\n<ul>\n<li><strong>Two viewer engines:<\/strong> Microsoft Office Web Viewer and Google Docs Viewer.<\/li>\n<li><strong>Gutenberg block<\/strong> with grouped settings panels.<\/li>\n<li><strong><code>[office_doc]<\/code> shortcode<\/strong> for the Classic Editor and page builders.<\/li>\n<li><strong>Custom width and height<\/strong> so the viewer fits your layout.<\/li>\n<li><strong>Dedicated document screen<\/strong> for managing the files you embed.<\/li>\n<\/ul>\n\n<h3>Document Viewer Pro<\/h3>\n\n<p>Need more control over how your files are shared? Pro adds:<\/p>\n\n<ul>\n<li><strong>Cloud sources:<\/strong> pick documents straight from <strong>Google Drive<\/strong>, <strong>OneDrive<\/strong> or <strong>Dropbox<\/strong>.<\/li>\n<li><strong>Download button:<\/strong> show a download button on the toolbar, or leave it off.<\/li>\n<li><strong>Filename display:<\/strong> show or hide the document title above the viewer.<\/li>\n<li><strong>Pop-out control:<\/strong> stop visitors opening the document in a separate window.<\/li>\n<li><strong>Content protection:<\/strong> disable right-click, text selection and the Ctrl\/Cmd + C, A, S, P shortcuts.<\/li>\n<li><strong>Full-screen control:<\/strong> allow or block full-screen viewing.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/document-viewer\/pricing\"><strong>See the Pro features<\/strong><\/a><\/p>\n\n<h3>What users say<\/h3>\n\n<p><strong>\u2b50\u2b50\u2b50\u2b50\u2b50 <a href=\"https:\/\/wordpress.org\/support\/topic\/exactly-what-i-need-161\/\">Exactly What I Need<\/a><\/strong>\n<em>\"I am a theatre director and I use my website to communicate with my performers and technical crews. I wanted to SHOW them documents in situ as well as enable them to easily download them and, after looking at other solutions, this plugin is PERFECT for this. I am delighted with it and cannot recommend it highly enough.\"<\/em> - <a href=\"https:\/\/wordpress.org\/support\/users\/jfortune\/\">jfortune<\/a><\/p>\n\n<p><strong>\u2b50\u2b50\u2b50\u2b50\u2b50 <a href=\"https:\/\/wordpress.org\/support\/topic\/impressively-stable\/\">Impressively Stable<\/a><\/strong>\n<em>\"Nice wp plugin ever. I've use it for 4 years.\"<\/em> - <a href=\"https:\/\/wordpress.org\/support\/users\/aircess\/\">aircess<\/a><\/p>\n\n<p><strong>\u2b50\u2b50\u2b50\u2b50\u2b50 <a href=\"https:\/\/wordpress.org\/support\/topic\/does-the-job-well-131\/\">Does the job well.<\/a><\/strong>\n<em>\"This plugin works fine\"<\/em> - <a href=\"https:\/\/wordpress.org\/support\/users\/muhammadarooj\/\">muhammadarooj<\/a><\/p>\n\n<p>Using Document Viewer on your site? A short <a href=\"https:\/\/wordpress.org\/support\/plugin\/embed-office-viewer\/reviews\/#new-post\">review on WordPress.org<\/a> helps other people find it. Want a feature or found a problem? <a href=\"https:\/\/bplugins.com\/support\/\"><strong>Tell us here<\/strong><\/a>.<\/p>\n\n<h3>Privacy in plain words<\/h3>\n\n<p>Your document's public URL is sent to Microsoft or Google so they can render it. Files must be publicly reachable, and confidential files should not be embedded this way. The <strong>External Services<\/strong> section below has the full detail.<\/p>\n\n<h3>Help translate this plugin<\/h3>\n\n<p>Document Viewer runs on sites around the world. If you speak another language, you can help. No coding needed:<\/p>\n\n<p>https:\/\/translate.wordpress.org\/projects\/wp-plugins\/embed-office-viewer\/<\/p>\n\n<p>New to translating? Start here: https:\/\/make.wordpress.org\/polyglots\/handbook\/translating\/first-steps\/<\/p>\n\n<h3>Other plugins by bPlugins<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/bplugins.com\/products\/document-embedder\/\"><strong>Document Embedder<\/strong><\/a>: 16+ file types, four viewers, 3D FlipBook and a searchable document library.<\/li>\n<li><a href=\"https:\/\/bplugins.com\/products\/pdf-poster\/\"><strong>PDF Poster<\/strong><\/a>: display and embed PDF files in different styles.<\/li>\n<li><a href=\"https:\/\/bplugins.com\/products\/html5-video-player\/\"><strong>HTML5 Video Player<\/strong><\/a>: single videos and playlists in multiple skins.<\/li>\n<li><a href=\"https:\/\/bplugins.com\/products\/html5-audio-player\/\"><strong>HTML5 Audio Player<\/strong><\/a>: audio with visualisations.<\/li>\n<li><a href=\"https:\/\/bplugins.com\/products\/3d-viewer\/\"><strong>3D Viewer<\/strong><\/a>: embed interactive 3D models and products.<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin relies on external services to render your documents. Please read this section before embedding anything confidential.<\/p>\n\n<h4>Microsoft Office Web Viewer<\/h4>\n\n<ul>\n<li><strong>Service:<\/strong> Microsoft Office Web Viewer \u2013 <code>https:\/\/view.officeapps.live.com<\/code><\/li>\n<li><strong>What it does:<\/strong> Renders Word, Excel and PowerPoint files in an iframe on your page.<\/li>\n<li><strong>What data is sent:<\/strong> The <strong>public URL of the document you embed<\/strong> is passed to Microsoft, which then fetches and renders that file. Your visitor's browser connects directly to Microsoft's servers, so their IP address and browser details are visible to Microsoft. No WordPress user data is sent by the plugin.<\/li>\n<li><strong>When:<\/strong> Every time a page containing an embedded document is viewed, if the Microsoft viewer is selected.<\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkID=206977\">https:\/\/go.microsoft.com\/fwlink\/?LinkID=206977<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/go.microsoft.com\/fwlink\/?LinkId=521839\">https:\/\/go.microsoft.com\/fwlink\/?LinkId=521839<\/a><\/li>\n<\/ul>\n\n<h4>Google Docs Viewer<\/h4>\n\n<ul>\n<li><strong>Service:<\/strong> Google Docs Viewer \u2013 <code>https:\/\/docs.google.com\/viewer<\/code><\/li>\n<li><strong>What it does:<\/strong> Renders documents, including PDFs, in an iframe on your page.<\/li>\n<li><strong>What data is sent:<\/strong> The <strong>public URL of the document you embed<\/strong> is passed to Google, which then fetches and renders that file. Your visitor's browser connects directly to Google's servers, so their IP address and browser details are visible to Google. No WordPress user data is sent by the plugin.<\/li>\n<li><strong>When:<\/strong> Every time a page containing an embedded document is viewed, if the Google viewer is selected.<\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/policies.google.com\/terms\">https:\/\/policies.google.com\/terms<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/policies.google.com\/privacy\">https:\/\/policies.google.com\/privacy<\/a><\/li>\n<\/ul>\n\n<h4>bPlugins API<\/h4>\n\n<ul>\n<li><strong>Service:<\/strong> bPlugins product API \u2013 <code>https:\/\/api.bplugins.com<\/code><\/li>\n<li><strong>What it does:<\/strong> When you open the plugin's admin dashboard, the plugin requests product information so it can display product cards, version information and upgrade options.<\/li>\n<li><strong>What data is sent:<\/strong> A request containing the product identifier. No personal data or site content is sent.<\/li>\n<li><strong>When:<\/strong> Only while an administrator is viewing the plugin's dashboard in wp-admin.<\/li>\n<li><strong>Terms of Service:<\/strong> <a href=\"https:\/\/bplugins.com\/terms-of-service\/\">https:\/\/bplugins.com\/terms-of-service\/<\/a><\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/bplugins.com\/privacy-policy\/\">https:\/\/bplugins.com\/privacy-policy\/<\/a><\/li>\n<\/ul>\n\n<h4>WordPress.org Plugins API<\/h4>\n\n<ul>\n<li><strong>Service:<\/strong> WordPress.org Plugins Info API \u2013 <code>https:\/\/api.wordpress.org<\/code><\/li>\n<li><strong>What it does:<\/strong> The dashboard queries the public WordPress.org Plugins API to list other plugins published by the author.<\/li>\n<li><strong>What data is sent:<\/strong> A public, read-only query. No personal data is sent.<\/li>\n<li><strong>When:<\/strong> Only while an administrator is viewing the plugin's dashboard in wp-admin.<\/li>\n<li><strong>Privacy Policy:<\/strong> <a href=\"https:\/\/wordpress.org\/about\/privacy\/\">https:\/\/wordpress.org\/about\/privacy\/<\/a><\/li>\n<\/ul>\n\n<h3>Third-Party Libraries<\/h3>\n\n<h4>Freemius SDK<\/h4>\n\n<ul>\n<li><strong>Source:<\/strong> <a href=\"https:\/\/freemius.com\/\">https:\/\/freemius.com\/<\/a><\/li>\n<li><strong>GitHub:<\/strong> <a href=\"https:\/\/github.com\/Freemius\/wordpress-sdk\">https:\/\/github.com\/Freemius\/wordpress-sdk<\/a><\/li>\n<li><strong>License:<\/strong> GPLv3 \u2013 <a href=\"https:\/\/github.com\/Freemius\/wordpress-sdk\/blob\/master\/LICENSE.txt\">https:\/\/github.com\/Freemius\/wordpress-sdk\/blob\/master\/LICENSE.txt<\/a><\/li>\n<li><strong>Purpose:<\/strong> Provides opt-in usage tracking, licensing and checkout functionality.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p><strong>From your dashboard<\/strong><\/p>\n\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Search for <strong>Document Viewer<\/strong> by <strong>bPlugins<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong>, then <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<p><strong>By upload<\/strong><\/p>\n\n<ol>\n<li>Download the plugin zip from WordPress.org.<\/li>\n<li>Go to <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>.<\/li>\n<li>Choose the zip, click <strong>Install Now<\/strong>, then <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<p><strong>Adding your first document<\/strong><\/p>\n\n<ol>\n<li>Go to <strong>Document Viewer \u2192 Add New<\/strong> in the admin menu.<\/li>\n<li>Upload a Word, Excel, PowerPoint or PDF file, or paste a direct URL.<\/li>\n<li>Choose the viewer engine and set the width and height.<\/li>\n<li>Copy the <code>[office_doc]<\/code> shortcode and paste it into any post or page. Or add the <strong>Document Viewer<\/strong> block in the Block Editor instead.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20embed%20a%20word%20document%20in%20wordpress%3F\"><h3>How do I embed a Word document in WordPress?<\/h3><\/dt>\n<dd><p>Install Document Viewer, add the <strong>Document Viewer<\/strong> block (or the <code>[office_doc]<\/code> shortcode), upload your .doc or .docx file and choose the Microsoft Office Web Viewer. The document appears on the page with its original formatting.<\/p><\/dd>\n<dt id=\"how%20do%20i%20embed%20an%20excel%20spreadsheet%20in%20wordpress%3F\"><h3>How do I embed an Excel spreadsheet in WordPress?<\/h3><\/dt>\n<dd><p>The same way: upload your .xls or .xlsx file in the block or the document screen and choose the Microsoft viewer. Columns, cell formatting and charts stay as you saved them.<\/p><\/dd>\n<dt id=\"how%20do%20i%20embed%20a%20powerpoint%20presentation%20in%20wordpress%3F\"><h3>How do I embed a PowerPoint presentation in WordPress?<\/h3><\/dt>\n<dd><p>Upload your .ppt or .pptx file and choose the Microsoft viewer. Visitors can click through the slides on the page.<\/p><\/dd>\n<dt id=\"can%20i%20embed%20a%20pdf%3F\"><h3>Can I embed a PDF?<\/h3><\/dt>\n<dd><p>Yes. For PDF files the Google Docs Viewer is usually the better choice.<\/p><\/dd>\n<dt id=\"what%20is%20the%20shortcode%3F\"><h3>What is the shortcode?<\/h3><\/dt>\n<dd><p>[office_doc]. Generate the exact shortcode for a document from its edit screen, then paste it into any post, page, widget or page builder that supports shortcodes.<\/p><\/dd>\n<dt id=\"which%20file%20types%20can%20i%20embed%3F\"><h3>Which file types can I embed?<\/h3><\/dt>\n<dd><p>Word (.doc, .docx), Excel (.xls, .xlsx), PowerPoint (.ppt, .pptx) and PDF. If you need images, code files, archives, 3D formats or a document library, use <a href=\"https:\/\/wordpress.org\/plugins\/document-emberdder\/\">Document Embedder<\/a> instead.<\/p><\/dd>\n<dt id=\"is%20document%20viewer%20free%3F\"><h3>Is Document Viewer free?<\/h3><\/dt>\n<dd><p>Yes. Both viewer engines, the Gutenberg block, the shortcode and custom sizing are free. Pro adds cloud sources, a download button and display and protection controls.<\/p><\/dd>\n<dt id=\"do%20i%20need%20to%20convert%20my%20files%20first%3F\"><h3>Do I need to convert my files first?<\/h3><\/dt>\n<dd><p>No. Upload the .docx, .xlsx or .pptx you already have. There is no conversion to PDF or HTML.<\/p><\/dd>\n<dt id=\"do%20my%20visitors%20need%20microsoft%20office%20installed%3F\"><h3>Do my visitors need Microsoft Office installed?<\/h3><\/dt>\n<dd><p>No. The file is rendered in the browser. Visitors need nothing installed, on desktop or mobile.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20mobile%3F\"><h3>Does it work on mobile?<\/h3><\/dt>\n<dd><p>Yes. The document opens in the mobile browser. Set the width and height to suit your layout.<\/p><\/dd>\n<dt id=\"which%20viewer%20should%20i%20choose%3F\"><h3>Which viewer should I choose?<\/h3><\/dt>\n<dd><p>For Word, Excel and PowerPoint, use the <strong>Microsoft Office Web Viewer<\/strong>. It keeps the original formatting because it is Microsoft's own renderer. For PDF, the <strong>Google Docs Viewer<\/strong> is usually the better choice.<\/p><\/dd>\n<dt id=\"my%20document%20is%20not%20showing.%20what%20should%20i%20check%3F\"><h3>My document is not showing. What should I check?<\/h3><\/dt>\n<dd><p>Most often the file is not publicly reachable. Microsoft and Google fetch the file over the internet, so a file behind a login, on a password-protected site or on a local development site will not render. Very large files can also take a long time to load. If it still does not work, <a href=\"https:\/\/bplugins.com\/support\/\">contact support<\/a>.<\/p><\/dd>\n<dt id=\"is%20my%20document%20sent%20to%20a%20third%20party%3F\"><h3>Is my document sent to a third party?<\/h3><\/dt>\n<dd><p>Yes, and you should know exactly how. Both viewers work by passing your document's <strong>public URL<\/strong> to an external service, Microsoft's Office Web Viewer or Google Docs Viewer, which renders it in an iframe. See the <strong>External Services<\/strong> section below for the full detail. If your documents are confidential, this plugin is not the right choice; use a plugin that renders locally instead.<\/p><\/dd>\n<dt id=\"does%20the%20document%20need%20to%20be%20publicly%20reachable%3F\"><h3>Does the document need to be publicly reachable?<\/h3><\/dt>\n<dd><p>Yes. Microsoft and Google fetch the file over the internet, so a file behind a login or on a local development site will not render.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20elementor%2C%20divi%20or%20another%20page%20builder%3F\"><h3>Does it work with Elementor, Divi or another page builder?<\/h3><\/dt>\n<dd><p>Yes. Use the <code>[office_doc]<\/code> shortcode in any builder with a shortcode widget: Elementor, Divi, Bricks, WPBakery, Beaver Builder, Oxygen and others.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20classic%20editor%3F\"><h3>Does it work with the Classic Editor?<\/h3><\/dt>\n<dd><p>Yes. Paste the <code>[office_doc]<\/code> shortcode into the Classic Editor.<\/p><\/dd>\n<dt id=\"can%20i%20show%20a%20download%20button%3F\"><h3>Can I show a download button?<\/h3><\/dt>\n<dd><p>The download button, along with filename display, pop-out control and content protection, is part of the Pro version.<\/p><\/dd>\n<dt id=\"can%20i%20stop%20people%20copying%20the%20text%3F\"><h3>Can I stop people copying the text?<\/h3><\/dt>\n<dd><p>Pro includes content protection. It disables right-click, text selection and the Ctrl\/Cmd + C, A, S and P shortcuts. Treat it as a deterrent rather than real security: anything a browser can display can ultimately be copied.<\/p><\/dd>\n<dt id=\"is%20there%20a%20file%20size%20limit%3F\"><h3>Is there a file size limit?<\/h3><\/dt>\n<dd><p>There is no limit in the plugin itself, but very large files take longer for the external viewer to fetch and render. Files under about 20 MB are the most reliable.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20document%20viewer%20and%20document%20embedder%3F\"><h3>What is the difference between Document Viewer and Document Embedder?<\/h3><\/dt>\n<dd><p>Document Viewer is small and focused on Office files and PDF, rendered by Microsoft or Google. <a href=\"https:\/\/wordpress.org\/plugins\/document-emberdder\/\">Document Embedder<\/a> supports 16+ file types, four viewers, a 3D FlipBook and a searchable document library.<\/p><\/dd>\n<dt id=\"where%20do%20i%20report%20security%20bugs%20found%20in%20this%20plugin%3F\"><h3>Where do I report security bugs found in this plugin?<\/h3><\/dt>\n<dd><p>Please report security bugs found in the source code of the Document Viewer plugin through the <a href=\"https:\/\/patchstack.com\/database\/vdp\/9e5fb774-c5c5-4253-bec9-fd5a4210d09b\">Patchstack Vulnerability Disclosure Program<\/a>. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.4.2 - 11 August 2026<\/h4>\n\n<ul>\n<li><strong>Security:<\/strong> Updated the Freemius SDK dependency to the latest version to patch identified vulnerabilities.<\/li>\n<\/ul>\n\n<h4>2.4.1 - 27 June 2026<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Redesigned and integrated the new standardized help and demos admin dashboard.<\/li>\n<\/ul>\n\n<h4>2.4.0 - 3 June 2026<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Added four dedicated settings panels (Document Source, Viewer Engine, Display Dimensions, Security Restrictions) to group the Gutenberg block settings.<\/li>\n<li><strong>New:<\/strong> Added custom SVG icons inside the block settings panel titles.<\/li>\n<li><strong>Update:<\/strong> Redesigned block settings field titles to use friendlier, clearer wording for non-technical users.<\/li>\n<li><strong>Update:<\/strong> Consolidated admin asset enqueuing into a single class loader.<\/li>\n<li><strong>Update:<\/strong> Standardized core classes under <code>includes\/core\/<\/code> and helper files under <code>includes\/helper\/<\/code> for namespace consistency.<\/li>\n<li><strong>Improvement:<\/strong> Integrated Composer autoloading to boot and resolve PHP dependencies dynamically.<\/li>\n<li><strong>Improvement:<\/strong> Unified the legacy shortcode rendering pipeline to run through the Gutenberg block rendering engine via the native <code>render_block()<\/code> API.<\/li>\n<li><strong>Improvement:<\/strong> Replaced the block settings TabPanel with separate, sequential settings panels.<\/li>\n<li><strong>Improvement:<\/strong> Added detailed file format descriptions to simplify the document selector.<\/li>\n<li><strong>Improvement:<\/strong> Added a fixed height and fade-in transition to the upload UI to prevent layout jumping on tab change.<\/li>\n<li><strong>Improvement:<\/strong> Reorganized metabox fields into two tabbed sections: Document Settings and Security &amp; Restrictions.<\/li>\n<li><strong>Fix:<\/strong> Resolved a fatal error during the <code>plugins_loaded<\/code> hook by replacing query loops with <code>get_posts()<\/code> in the ImportMeta class.<\/li>\n<li><strong>Fix:<\/strong> Resolved cross-origin iframe console errors in the block editor under content protection mode.<\/li>\n<li><strong>Fix:<\/strong> Resolved pop-out overlay alignment and responsiveness using CSS container queries.<\/li>\n<li><strong>Fix:<\/strong> Resolved Protect Content bypasses via text selection and keyboard shortcuts (Ctrl\/Cmd + C, A, S, P).<\/li>\n<li><strong>Fix:<\/strong> Resolved Disable Full Screen and pop-out overlay style targeting mismatches.<\/li>\n<li><strong>Fix:<\/strong> Resolved missing i18n translation wrappers on the Protect Content toggle labels.<\/li>\n<\/ul>\n\n<h4>2.3.3 - 8 November 2025<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Improved the block editor upload options.<\/li>\n<\/ul>\n\n<h4>2.3.2 - 10 October 2025<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Added a modern admin dashboard.<\/li>\n<\/ul>\n\n<h4>2.3.1 - 12 July 2025<\/h4>\n\n<ul>\n<li><strong>Fix:<\/strong> Resolved reported issues.<\/li>\n<\/ul>\n\n<h4>2.3.0 - 10 May 2025<\/h4>\n\n<ul>\n<li><strong>Fix:<\/strong> Resolved the text domain issue.<\/li>\n<li><strong>New:<\/strong> Added a fully featured Gutenberg block.<\/li>\n<\/ul>\n\n<h4>2.2.10 - 29 January 2025<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Freemius WordPress SDK.<\/li>\n<\/ul>\n\n<h4>2.2.9 - 4 July 2024<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Freemius WordPress SDK.<\/li>\n<\/ul>\n\n<h4>2.2.7<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Freemius WordPress SDK.<\/li>\n<\/ul>\n\n<h4>2.2.5<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Freemius WordPress SDK.<\/li>\n<\/ul>\n\n<h4>2.2.4<\/h4>\n\n<ul>\n<li><strong>Fix:<\/strong> Height issue.<\/li>\n<\/ul>\n\n<h4>2.2.3<\/h4>\n\n<ul>\n<li><strong>Security:<\/strong> Fixed a security issue.<\/li>\n<li><strong>Improvement:<\/strong> Performance.<\/li>\n<\/ul>\n\n<h4>2.0.9<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> PDF viewer support.<\/li>\n<li><strong>Improvement:<\/strong> Performance.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Document management screen.<\/li>\n<li><strong>New:<\/strong> Gutenberg block support.<\/li>\n<li><strong>Improvement:<\/strong> Performance.<\/li>\n<\/ul>","raw_excerpt":"Embed Word, Excel, PowerPoint and PDF files in WordPress using Microsoft Office Viewer or Google Docs Viewer. One shortcode, no file conversion.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/112696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=112696"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bplugins"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=112696"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=112696"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=112696"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=112696"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=112696"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=112696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}