前言介紹
- 這款 WordPress 外掛「Dan's Viewer for Google Drive」是 2016-10-24 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2019-06-05,距離現在已有 2158 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0.1 以上版本才可以安裝。
- 有 10 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
duplaja |
外掛標籤
drive | embed | gdrive | share files | google drive |
內容簡介
Dan's Viewer for Google Drive是在我尋找一種透過Google Drive在我的網站分享文件的方式時創建的,其中需要下載、查看、匯出檔案,而最難找到的是不離開網站的能力,可以深入子資料夾。我找不到符合我需求且價格在我的預算範圍內的任何東西,所以我決定自己創建。
Dan's Viewer for Google Drive以一種方便的方式顯示文件,具有易於自訂的簡碼和易於美化的特點。不需要將文件導入WordPress中或直接管理它們。您所需的只是一個公共的Google Drive文件夾(或多個!)和一個免費、易於獲取的API金鑰。
功能
以手機友好的方式顯示公共驅動器文件列表
在適當的情況下提供查看和下載選項
為Google文檔/表格/演示文稿提供匯出選項
所有選項都通過簡碼進行配置
允許在不離開頁面的情況下深入/浮現資料夾
能夠存儲並使用無限的Google Drive文件夾
簡碼:
默認顯示 [dandrive](默認為第1個驅動器)
可選屬性Ex: [dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]
drive=(您要的驅動器數量,如果未輸入,則默認為1)
divid=(您的日曆存儲在其中的div的ID,供自定義主題使用。默認為隨機字符串,以允許每頁面多個)
height=(最大高度(以像素為單位),默認為自動。如果設置此項,當您的div溢出時,將會出現捲軸。只需輸入一個數字)。
width=(最大寬度(以像素為單位),默認為400。只需輸入一個數字)
rbutton=(no表示不顯示返回初始文件夾按鈕。省略以顯示(默認行為))
有關如何創建與此外掛使用的API金鑰的幫助,請查看插件中的設置頁面或此處的常見問題解答選項。
要查看其他類似此外掛或有關如何構建它們的提示,請訪問我的網站。
感謝Mike @ WP Bullet Guides為橫幅和圖標做出的貢獻。
依賴關係和許可
依賴於Google Drive的JavaScript API v4
原文外掛簡介
Dan’s Viewer for Google Drive was created when I was looking for a way to share files via Google Drive on my sites, in a way that allowed downloading, viewing, exporting, and hardest to find, the ability drill down into subfolders without leaving the site. I couldn’t find anything within my price range that fit what I needed, so I decided to create my own.
Dan’s Viewer for Google Drive displays files in a way that is mobile friendly, customizable via shortcode, and easy to style. No need to import files or manage them directly in WordPress. All you need is a public Google Drive Folder (or multiple!) and a free, easy to get API key.
Features
Displays public drive document listings in a mobile friendly format
Offers both View and Download Options, where appropriate
Offers Export Option for Google Docs / Sheets / Presentations
All options are configured via shortcode
Allows drill down / up within folders without leaving the page
Ability to store and use unlimited Google Drive Folders
Shortcodes:
Default Display [dandrive] (defaults to 1st drive)
Optional Attributes Ex:[dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]
drive= (number of the drive you want, defaults to 1 if not entered)
divid= (id of the div your calendar is stored in, for custom theming. Defaults to random string to allow multiple per page)
height= (maximum height in pixels, defaults to auto. If this is set, a scroll bar will appear if your div overflows. Enter a number only).
width = (maximum width in pixels, defaults to 400. Enter a number only)
rbutton = (no means don’t display return to initial folder button. Omit to display (default behaviour))
For help creating an API key to use with this plugin, either check out the settings page in plugin, or the FAQ tab here.
To see other plugins like this, or tips on how these are built, check out my site.
Thanks to Mike @ WP Bullet Guides for the banner and icon.
Dependencies and Liscencing
Depends on Google Drive’s JavaScript API v4
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dan's Viewer for Google Drive」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。