這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.