=== Country Calling Codes ===
Contributors: abdoulosseni
Tags: country codes, dialing codes, international calling, travel, telecom
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display international calling codes for every country and territory — all 195+ — with simple shortcodes. Filter by continent. No setup required.

== Description ==

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

== Installation ==

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.

== Frequently Asked Questions ==

= 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.

== Changelog ==

= 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.

== Credits ==

Developed and maintained by [Abdoul OSSENI](https://www.africallshop.com).
