| 开发者 |
abuhayat
shehabulislam freemius bplugins taninrahman |
|---|---|
| 更新时间 | 2026年10月24日 11:33 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
[office_doc] shortcode for everything else.[office_doc] 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.
Free features
[office_doc] shortcode for the Classic Editor and page builders.[office_doc] shortcode and paste it into any post or page. Or add the Document Viewer block in the Block Editor instead.Install Document Viewer, add the Document Viewer block (or the [office_doc] shortcode), upload your .doc or .docx file and choose the Microsoft Office Web Viewer. The document appears on the page with its original formatting.
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.
Upload your .ppt or .pptx file and choose the Microsoft viewer. Visitors can click through the slides on the page.
Yes. For PDF files the Google Docs Viewer is usually the better choice.
[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.
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 Document Embedder instead.
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.
No. Upload the .docx, .xlsx or .pptx you already have. There is no conversion to PDF or HTML.
No. The file is rendered in the browser. Visitors need nothing installed, on desktop or mobile.
Yes. The document opens in the mobile browser. Set the width and height to suit your layout.
For Word, Excel and PowerPoint, use the Microsoft Office Web Viewer. It keeps the original formatting because it is Microsoft's own renderer. For PDF, the Google Docs Viewer is usually the better choice.
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, contact support.
Yes, and you should know exactly how. Both viewers work by passing your document's public URL to an external service, Microsoft's Office Web Viewer or Google Docs Viewer, which renders it in an iframe. See the External Services 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.
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.
Yes. Use the [office_doc] shortcode in any builder with a shortcode widget: Elementor, Divi, Bricks, WPBakery, Beaver Builder, Oxygen and others.
Yes. Paste the [office_doc] shortcode into the Classic Editor.
The download button, along with filename display, pop-out control and content protection, is part of the Pro version.
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.
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.
Document Viewer is small and focused on Office files and PDF, rendered by Microsoft or Google. Document Embedder supports 16+ file types, four viewers, a 3D FlipBook and a searchable document library.
Please report security bugs found in the source code of the Document Viewer plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
includes/core/ and helper files under includes/helper/ for namespace consistency.render_block() API.plugins_loaded hook by replacing query loops with get_posts() in the ImportMeta class.