Document Embeds in WordPress
The most reliable embeds of PowerPoints into WordPress Posts and Pages found so far is using Google Docs viewer WordPress plugin by F.Davis.
Here is some PowerPoint comments from 5 years ago on Website building
[gview file=”https://theopensourcery.com/2ndfree.ppt” width=’700′ height=’520′]
Here is an Excel file on stats about Small Business websites:
[gview file=”http://thephotofinishes.com/0csiweb.xlsx” width=’700′ height=’520′]
The syntax is simple using a WordPress Shortcode with some straightforward options:
[ gview file=”http://example.com/modelslides.pptx” width=’700 ‘ height=’500’ ] Note 1: the file URL cannot be relative but must be a fully expanded url – http://example.com…
Note 2: the gview shortcode must be directly adjacent to [ no blank space – [gview file file…
Users can control the width and height of the displayed PowerPoint as shown above or use the default values which can be changed in the WP Settings tab.
Other option codes are:
save= (optional) Enter a value (1 to show, 0 to hide) to override the default display setting for the download link.
responsive= (optional) Add authonly=”1″ to only show the download link to logged-in users on an individual file.
This plugin is robust and supports viewing of many filetype beyond PowerPoints including:
Microsoft Word (DOC/DOCX)
Microsoft PowerPoint (PPT/PPTX)
Microsoft Excel (XLS/XLSX)
Apple Pages (PAGES)
Adobe Illustrator (AI)
Adobe Photoshop (PSD)
Autodesk AutoCad (DXF)
Scalable Vector Graphics (SVG)
XML Paper Specification (XPS)
Archive Files (ZIP/RAR)
It is a pleasure to have so many file types available in WordPress.