>
Download This Plugin | |
Download Elegant Themes | |
Name | Simple Google Docs Viewer |
Version | 1.1 |
Author | illuminea |
Rating | 68 |
Last updated | 2013-04-01 12:35:00 |
Downloads |
10711
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Simple Google Docs Viewer plugin added 3 bytes of resources to the Home page and 11 bytes of resources to the sample Post page.
Simple Google Docs Viewer plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Simple Google Docs Viewer plugin ads no tables to your Wordpress blog database.Enables you to easily embed documents with Google Docs Viewer - that are supported by Google Docs (PDF/DOC/DOCX/PPTX/etc) with a simple shortcode. [gviewer]
A full list of attributes:
file
-- Required. The URL of the file you wish to showwidth
-- Optional. The desired width of the viewer in pixels. If nothing set, the value of the theme's $content_width
will be used. If no value set, the height of 600 pixels will be used.height
-- Optional. The desired height of the viewer in pixels. If nothing set, the height will 1.2 times the width. So for instance, if the width was 100px, the height will be 120px.language
-- The language of the document. If the document is written in a RTL language (Hebrew, Arabic, etc) then specifying the language will also apply right-to-left settings.A yet another way to embed a Google Document is possible by using the template tag provided by the plugin. Here's an example.
<?php
echo simple_gviewer_embed( 'http://.../file.pdf', $args );
The second argument, $args
, is an associative array. Keys can be found in the list above.