Country Calling Codes

外掛說明

Country Calling Codes adds shortcodes to your WordPress site that display international dialing codes for every country and territory — no API calls, no configuration.

Shortcodes:

[country_codes] — Full table of all 195+ countries and their calling codes.

[country_codes continent="Africa"] — Filter by continent. Accepts `Africa`, `Asia`, or `Europe`.

[country_code name="Senegal"] — Returns the calling code for a single country.

Example outputs:

  • [country_code name="Japan"] +81
  • [country_code name="Brazil"] +55
  • [country_code name="Nigeria"] +234

Why this plugin?

Travel agents, diaspora communities, international businesses, and telecom comparison sites all need country calling codes. This plugin gives you every code in one place, stored locally — no external dependencies, no API rate limits, no subscription fees.

Features:

  • 195+ countries and territories included
  • Filterable by continent (Africa, Asia, Europe)
  • Two shortcodes: full table and single lookup
  • Lightweight — zero JavaScript, zero external stylesheets
  • Clean, responsive table design
  • Works with any WordPress theme and page builder
  • Activate and use — no configuration needed

Credits

Developed and maintained by Abdoul OSSENI.

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/ or install via the WordPress plugin directory.
  2. Activate the plugin through the “Plugins” menu.
  3. Use [country_codes] to display the full table, [country_code name="Country"] for a single code, or [country_codes continent="Africa"] to filter.

常見問題集

Does it work with Gutenberg or Elementor?

Yes. Use the Shortcode block in Gutenberg or the Shortcode widget in Elementor.

Which continents are supported for filtering?

Africa, Asia, and Europe. Additional continents will be added in future releases.

Does it need an internet connection?

No. All data lives inside the plugin. Zero API calls.

Is it really free?

Yes. GPLv2 licensed. No premium version, no upsells.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Country Calling Codes〉的開發相關工作。

參與者

將〈Country Calling Codes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.
  • 195+ countries and territories.
  • [country_codes] — full table.
  • [country_codes continent="Africa"] — filter by continent.
  • [country_code name="Country"] — single lookup.
  • Responsive table styling.