[WordPress] 外掛分享: Drive Folder Embedder

前言介紹

  • 這款 WordPress 外掛「Drive Folder Embedder」是 2020-12-08 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2022-05-28,距離現在已有 1071 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

azumbro |

外掛標籤

folder embed | google drive |

內容簡介

一個 WordPress 的外掛,可以動態地建立包含檔案名稱及連結的表格,以用於共享 Google Drive 資料夾。

使用方式

所有外掛功能都通過 [DriveFolderEmbedder] 短代碼來存取。短代碼的選項如下所述。

FolderID(必填):用於提取檔案的共享 Google Drive 資料夾的 ID。

取得您的資料夾ID:

在 Google Drive 中使用公共共用連結分享資料夾(請參閱 https://support.google.com/drive/answer/7166529 中的“擁有連結到資料夾的任何人”部分)。
您的資料夾ID是上面創建的共用連結的一部分(連結的格式為 https://drive.google.com/drive/folders/[ID HERE]?usp=sharing)。

Sort:如何對檔案表格進行排序。所有排序都是基於檔案名稱進行的。

選項:“ASC”、“ASC_Natural”、“DESC”、“DESC_Natural”
如果未指定 “Sort”,將使用 “DESC” 選項(在 Google Drive 中為預設值)。

ShowHeader: 是否顯示指定列名的表格標頭。

選項:“True” 或 “False”。
如果未指定 “ShowHeaders”,則默認為 “True”。

TableCSSClass: 允許輸入 CSS 類名以定義表格樣式。

可以包含一個或多個用空格分隔的類名。
如果未提供此值,則不會設置表格的任何類。

短代碼示例:

基本表格生成: [DriveFolderEmbedder FolderID="123456789"]
指定 “Sort”、“ShowHeader” 和 “TableCSSClass” 的表格生成:[DriveFolderEmbedder FolderID="123456789" Sort="DESC_Natural" ShowHeader="False" TableCSSClass="some-class-name"]

原文外掛簡介

A WordPress plugin that dynamically creates a table with file names and links for a shared Google Drive folder.
Usage

All plugin functionality is accessed through shortcodes in the format “[DriveFolderEmbedder]”. Shortcode options are outlined below.

FolderID (required): The ID of the shared Google Drive folder from which to pull files.

To get your folder ID:

Share the folder in Google Drive with a public shared link (see the “Anyone with a link to the folder” section of https://support.google.com/drive/answer/7166529).
Your folder ID is part of the shared link created above above (link is in the format https://drive.google.com/drive/folders/[ID HERE]?usp=sharing).

Sort: How to sort the file table. All sorting is done based on file names.

Options: “ASC”, “ASC_Natural”, “DESC”, “DESC_Natural”
If “Sort” is not specified, the “DESC” option is used (default in Google Drive).

ShowHeader: Whether or not to show a table header specifying column names.

Options: “True” or “False”.
If “ShowHeaders” is not specified, defaults to “True”.

TableCSSClass: Allows for a CSS class name to be entered to define table style.

Can contain one or more class names separated by a space.
No class is set for the table if this value is not provided.

Shortcode examples:

Basic table generation: [DriveFolderEmbedder FolderID="123456789"]
Table generation with “Sort”, “ShowHeader”, and “TableCSSClass” specified: [DriveFolderEmbedder FolderID="123456789" Sort="DESC_Natural" ShowHeader="False" TableCSSClass="some-class-name"]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Drive Folder Embedder」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.0.2 | 1.1.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon