This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Simple Google Docs Viewer

বৰ্ণনা

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:

  • fileRequired. 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

স্ক্ৰীনশ্বট

  • How an embedded document looks in the front-end.
  • A sample use of the “gviewer” shortcode.

ইনষ্টলেশ্যন

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

পৰ্য্যালোচনা

আটাই 8টা পৰ্য্যালোচনা পঢ়ক

অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Simple Google Docs Viewer” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

আপোনাৰ ভাষাত “Simple Google Docs Viewer” অনুবাদ কৰক।

বিকাশৰ প্ৰতি আগ্ৰহী?

ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।

সলনি-পঞ্জী

1.2

  • Fix width shortcode attribute

1.1

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

1.0

  • Initial release