Drive Folder Embedder

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

Author:azumbro (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:6.0
Plugin version:1.1.0
Added to WordPress repository:09-12-2020
Last updated:28-05-2022
Rating, %:0
Rated by:0
Plugin URI:https://github.com/azumbro/DriveFolderEmbedde...
Total downloads:4 065
Active installs:100+
plugin download
Click to start download

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