[wordpress插件] Besan Block贝桑街区

wordpress 插件 文章 2020-03-03 07:30 522 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This WordPress plugin adds a responsive and accessible data chart block to the post editor.

此WordPress插件向帖子编辑器添加了一个可响应且可访问的数据图表块。

The chart feeds off of data from a publicly viewable Google sheet.

图表从可公开查看的Google工作表中获取数据。

安装步骤

    1. In the WordPress admin, install and enable the “Besan Block” plugin.

      在WordPress管理员中,安装并启用“ Besan Block”插件。

    2. Enter your Google Sheets API key on the plugin’s settings page.

      在插件的设置页面上输入您的Google Sheets API密钥。

    3. Edit any page or post and add the “Chart” editor block.

      编辑任何页面或帖子,并添加“图表”编辑器块。

    4. In the Inspector panel (on the right-hand side of the editor), enter the following information:

      在“检查器”面板(在编辑器的右侧)中,输入以下信息:

        • The URL of your publicly viewable Google sheet
        • 您公开可见的Google表格的网址

        • The column of data that your chart will be based on
        • 图表将基于的数据列

        • What kind of chart you would like to display
        • 您想要显示哪种图表

        • What color the bars of the chart should be.
        • 图表的条形应该是什么颜色。

      • Optionally (but preferably), enter a title and caption for the chart inside the editor.

        (可选)(但最好是),在编辑器内输入图表的标题和标题。

      • Save and view the page!

        保存并查看页面!

    The block will calculate the number of unique values inside that column and create a chart based on that data.

    该块将计算该列内的唯一值数量,并基于该数据创建图表。

下载地址
https://downloads.wordpress.org/plugin/besan-block.zip
-EOF-

AI助手支持GPT4.0