Title: Simple Google Docs Viewer
Author: Maor Chasen
Published: <strong>20 Tháng 12, 2012</strong>
Last modified: 22 Tháng 3, 2017

---

Tìm kiếm plugin

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

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Simple Google Docs Viewer

 Bởi [Maor Chasen](https://profiles.wordpress.org/maor/)

[Tải về](https://downloads.wordpress.org/plugin/simple-google-docs-viewer.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/simple-google-docs-viewer/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/simple-google-docs-viewer/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/simple-google-docs-viewer/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/simple-google-docs-viewer/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/simple-google-docs-viewer/)

## Mô tả

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

## Ảnh màn hình

[⌊How an embedded document looks in the front-end.⌉⌊How an embedded document looks
in the front-end.⌉[

How an embedded document looks in the front-end.

[⌊A sample use of the "gviewer" shortcode.⌉⌊A sample use of the "gviewer" shortcode
.⌉[

A sample use of the “gviewer” shortcode.

## Cài đặt

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

## Đánh giá

![](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 Tháng 9, 2018 1 trả lời

not working

 [ Đọc tất cả 8 đánh giá ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Người đóng góp & Lập trình viên

“Simple Google Docs Viewer” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

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

[Dịch “Simple Google Docs Viewer” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/simple-google-docs-viewer)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/simple-google-docs-viewer/),
check out [SVN repository](https://plugins.svn.wordpress.org/simple-google-docs-viewer/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/)
qua [RSS](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

 *  Phiên bản **1.2**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **300+**
 *  Phiên bản WordPress ** 3.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.7.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/simple-google-docs-viewer/)
 * Thẻ
 * [documents](https://vi.wordpress.org/plugins/tags/documents/)[embed pdf](https://vi.wordpress.org/plugins/tags/embed-pdf/)
   [google docs](https://vi.wordpress.org/plugins/tags/google-docs/)[pdf viewer](https://vi.wordpress.org/plugins/tags/pdf-viewer/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/simple-google-docs-viewer/advanced/)

## Đánh giá

 3.1 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/simple-google-docs-viewer/)