Skip to content

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

Notifications You must be signed in to change notification settings

qbicdesign/DriveFolderEmbedder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

Installation

  • Option 1: Download the plugin zip directly from the Wordpress plugin repository here. You can then upload the zip file to the "plugins" directory of your Wordpress installation and activate it from the plugin menu.
  • Option 2: Select "Add New" from under "Plugins" on the left sidebar of the Wordpress admin dashboard and then search for "Drive Folder Embedder" in the search field.
  • Following installation, the plugin must be activated from the "Plugins" page on the Wordpress admin dashboard.

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%