Title: Simple Google Docs Viewer
Author: Maor Chasen
Published: <strong>20. desember, 2012</strong>
Last modified: 22. mars, 2017

---

Søk i utvidelser

![](https://ps.w.org/simple-google-docs-viewer/assets/banner-772x250.jpg?rev=1582610)

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-google-docs-viewer_ffffff.svg)

# Simple Google Docs Viewer

 Av [Maor Chasen](https://profiles.wordpress.org/maor/)

[Last ned](https://downloads.wordpress.org/plugin/simple-google-docs-viewer.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/simple-google-docs-viewer/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/simple-google-docs-viewer/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/simple-google-docs-viewer/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/simple-google-docs-viewer/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/simple-google-docs-viewer/)

## Beskrivelse

Easily embed documents supported by Google Docs (PDF/DOC/DOCX/PPTX/etc)with a simple
shortcode `[gviewer]`

Ex. [gviewer file=”https://example.com/thisismyfile.pdf”]

A full list of attributes:

 * `file` — **Required**. The URL of the file you wish to show
 * `width` — Optional. The desired width of the viewer in pixels. If no width is
   set, the value of the theme’s `$content_width` will be used. If no value is set,
   the width will default to 600 px.
 * `height` — Optional. The desired height of the viewer in pixels. If height is
   set, the height will 1.2 times the width. For example, if the width is 100 px,
   the height will be 120 px.
 * `language` — The language of the document. If the document is written in a right-
   to-left (RTL) language (like Hebrew and Arabic), specifying the language will
   apply RTL settings.

Another way to embed a Google Document is by using the template tag provided by 
the plugin in the source code. Here’s an example:

    ```
    <?php

    echo simple_gviewer_embed( 'https://.../file.pdf', $args );
    ```

The second argument, `$args`, is an associative array. Keys can be found in the 
list above.

#### Short Demonstration

## Skjermbilder

 * [[
 * How an embedded document looks in the front-end.
 * [[
 * A sample use of the «gviewer» shortcode.

## Installasjon

Add via the plugin installer, or download the ZIP file and upload from the «Upload»
tab.

## Vurderinger

![](https://secure.gravatar.com/avatar/3af6aaf1990e955286126a79f622586359fc37e3adbee6e113ceb393405e7dc8?
s=60&d=retro&r=g)

### 󠀁[congrats for this crap](https://wordpress.org/support/topic/congrats-for-this-crap-should-be-deleted/)󠁿

 [imfreednb](https://profiles.wordpress.org/imfreednb/) 11. september, 2018 1 svar

not working

 [ Les alle 8 vurderinger ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Bidragsytere og utviklere

«Simple Google Docs Viewer» er programvare med åpen kildekode. Følgende personer
har bidratt til denne utvidelsen:

Bidragsytere

 *   [ Maor Chasen ](https://profiles.wordpress.org/maor/)
 *   [ Miriam Schwab ](https://profiles.wordpress.org/illuminea/)

[Oversett «Simple Google Docs Viewer» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/simple-google-docs-viewer)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/simple-google-docs-viewer/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/simple-google-docs-viewer/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/)
med [RSS](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.2

 * Fix width shortcode attribute

#### 1.1

 * Added support for https
 * iframes are now responsive out of the box

#### 1.0

 * Initial release

## Meta

 *  Versjon **1.2**
 *  Sist oppdatert **9 år siden**
 *  Aktive installasjoner **300+**
 *  WordPress-versjon ** 3.0 eller nyere **
 *  Testet opp til **4.7.33**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/simple-google-docs-viewer/)
 * Stikkord
 * [documents](https://nb.wordpress.org/plugins/tags/documents/)[embed pdf](https://nb.wordpress.org/plugins/tags/embed-pdf/)
   [google docs](https://nb.wordpress.org/plugins/tags/google-docs/)[pdf viewer](https://nb.wordpress.org/plugins/tags/pdf-viewer/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/simple-google-docs-viewer/advanced/)

## Vurderinger

 3.1 av 5 stjerner.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=3)
 *  [  2 2-star reviews     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Bidragsytere

 *   [ Maor Chasen ](https://profiles.wordpress.org/maor/)
 *   [ Miriam Schwab ](https://profiles.wordpress.org/illuminea/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/simple-google-docs-viewer/)