[wordpress插件] Dan's Viewer for Google Drive丹的Google云端硬盘查看器

wordpress 插件 文章 2020-04-12 03:51 500 0 全屏看文

AI助手支持GPT4.0

评分
84
描述

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

Dan的Google云端硬盘查看器是在我寻找一种通过Google云端硬盘在我的网站上共享文件的方式创建的,该方式允许下载,查看,导出和最难找到,从而能够深入到子文件夹而无需

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.

Dan的Google云端硬盘查看器以移动友好的方式显示文件,可通过简码进行自定义,并且易于设置样式。

No need to import files or manage them directly in WordPress.

无需导入文件或直接在WordPress中管理文件。

All you need is a public Google Drive Folder (or multiple!) and a free, easy to get API key.

您只需要一个公共Google Drive文件夹(或多个!)和免费的易于获取的API密钥即可。

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

      为Google文档/表格/演示文稿提供导出选项

    • 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

      能够存储和使用无限的Google云端硬盘文件夹

    Shortcodes:

    简码:

      • Default Display [dandrive] (defaults to 1st drive)

        默认显示 [dandrive] (默认为第一个驱动器)

      • Optional Attributes Ex:[dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]

        可选属性例如: [dandrive drive = 1 divid = mydrive height = 400 width = 300 rbutton = no]

      • drive= (number of the drive you want, defaults to 1 if not entered)

        drive =(所需的驱动器号,如果未输入,则默认为1)

      • divid= (id of the div your calendar is stored in, for custom theming. Defaults to random string to allow multiple per page)

        divid =(您的日历的div的ID,用于自定义主题。默认为随机字符串,以允许每页多个)

      • 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).

        height =(最大高度,以像素为单位,默认为自动。如果设置了此高度,则在div溢出时将显示滚动条。仅输入数字)。

      • width = (maximum width in pixels, defaults to 400. Enter a number only)

        width =(最大宽度,以像素为单位,默认为400。仅输入数字)

      • rbutton = (no means don’t display return to initial folder button. Omit to display (default behaviour))

        rbutton =(不表示不显示返回到初始文件夹按钮。忽略以显示(默认行为))

      For help creating an API key to use with this plugin, either check out the settings page in plugin, or the FAQ tab here.

      要获取创建与此插件一起使用的API密钥的帮助,请查看插件中的设置页面或此处的“常见问题”标签。

      To see other plugins like this, or tips on how these are built, check out my site.<

      要查看类似的其他插件或如何构建这些插件的提示,请查看我的网站

      /p>

      / p>

      Thanks to Mike @ WP Bullet Guides for the banner and icon.

      感谢Mike @ WP项目符号指南的横幅和图标。

      Dependencies and Liscencing

      依赖关系和许可

      Depends on Google Drive’s JavaScript API v4

      取决于Google云端硬盘的JavaScript API v4

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/dans-gdrive-viewer directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / dans-gdrive-viewer 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Head over to the Dan’s GDrive settings page, found on the Dashboard sidebar.
    6. 转到“仪表板”侧边栏上的Dan的GDrive设置页面。

下载地址
https://downloads.wordpress.org/plugin/dans-gdrive-viewer.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Availability Calendar可用性日历
[wordpress插件] Blog Blocks &#8211; Gutenberg Blocks for Content Writers博客块–内容作家的古腾堡块
[wordpress插件] BuddyPress Group ReservationBuddyPress团体预订
[wordpress插件] 300form300台
[wordpress插件] Breadcrumb面包屑
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381