[wordpress插件] Country Info Visual Editor (WYSIWYG) Button国家/地区信息可视化编辑器(WYSIWYG)按钮

wordpress 插件 文章 2020-04-03 16:50 428 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Adds a visual editor button for pulling information about any country from The World Bank API

添加了一个直观的编辑器按钮,用于从世界银行API 中提取有关任何国家的信息

.


You will find a new “globe” button in the visual (WYSIWYG) editor after activating the plugin.

激活插件后,您将在可视化(WYSIWYG)编辑器中找到一个新的“ globe”按钮。

Once the button is clicked and 2 letter ISO code of the country is entered, the plugin pulls following information from the API about the country:

单击该按钮并输入国家的2个字母的ISO代码后,插件将从API中获取有关该国家的以下信息:

    • Country name
    • 国家名

    • Capital City
    • 首都城市

    • ISO Code
    • ISO代码

    • Region
    • 地区

    • Income Level
    • 收入水平

    • Population (last 5 years)
    • 人口(最近5年)

    • GDP in current USD (last 5 years).
    • 当前美元的GDP(过去5年)。

    Pulled information is added to the editor directly without any shortcodes.

    被拉出的信息被直接添加到编辑器中,而没有任何短代码。

    Once the post is saved, the info is saved as a regular text in the database.

    保存帖子后,信息将作为常规文本保存在数据库中。

    No more API requests will be made to retrieve that info again.

    将不再发出API请求来再次检索该信息。

    The plugin’s author is not affiliated with The World Bank.

    该插件的作者与世界银行无关。

安装步骤

    1. Upload the plugin’s folder to the /wp-content/plugins/ directory
    2. 将插件的文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    You will find a new “globe” button in the visual (WYSIWYG) editor.

    您将在可视(WYSIWYG)编辑器中找到一个新的“ globe”按钮。

下载地址
https://downloads.wordpress.org/plugin/country-info-visual-editor-wysiwyg-button.1.0.1.zip
-EOF-

AI助手支持GPT4.0