该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Country Info Visual Editor (WYSIWYG) Button

描述

Adds a visual editor button for pulling information about any country from The World Bank API.
You will find a new “globe” button in the visual (WYSIWYG) editor after activating the plugin.
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:

  • Country name
  • Capital City
  • ISO Code
  • Region
  • Income Level
  • Population (last 5 years)
  • GDP in current USD (last 5 years).

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.

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

屏幕截图

安装

  1. Upload the plugin’s folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

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

常见问题

Installation Instructions
  1. Upload the plugin’s folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

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

评价

此插件暂无评价。

贡献者及开发者

“Country Info Visual Editor (WYSIWYG) Button” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Refactored the code
  • Turned on simple client side validation
  • Tested compatibility with WordPress 4.9

1.0

  • Initial Release.