[WordPress] 外掛分享: Drive Folder Embedder

首頁外掛目錄 › Drive Folder Embedder
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
200+
安裝啟用
尚無評分
1415 天前
最後更新
問題解決
WordPress 4.6+ PHP 5.2.4+ v1.1.0 上架:2020-12-08

內容簡介

一個 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"]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Drive Folder Embedder」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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"]

文章
Filter
Mastodon