This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Country Info Visual Editor (WYSIWYG) Button

Description

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.

Screenshots

Installation

  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.

FAQ

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.

Contributors & Developers

“Country Info Visual Editor (WYSIWYG) Button” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

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

1.0

  • Initial Release.