Documentation
Getting started: install the phone field plugin
Install International Telephone Box and every phone field on your WordPress site gets country flags, dial codes and validation, with no setup.
Last updated
View as MarkdownInternational Telephone Box is a free WordPress plugin that turns every phone field into an international phone input with country flags, dial codes and real validation. Install it, activate it, and you are done: no settings are required.
Install
- Go to Plugins → Add New in your WordPress admin.
- Search for International Telephone Box.
- Click Install Now, then Activate.
Prefer a manual install? Download the plugin from WordPress.org or GitHub, upload it under Plugins → Add New → Upload Plugin, and activate it.
It works on every phone field automatically
Once active, International Telephone Box enhances every input[type="tel"] on your site, with nothing to configure. That includes:
- Fields added later, for example by AJAX or a form builder.
- Fields inside Elementor popups. If your site already loads jQuery (as Elementor does), it is used only to listen for Elementor popups opening; jQuery is not required.
- Any form plugin's phone field: Contact Form 7, Gravity Forms, WPForms, Formidable, Fluent Forms, Elementor forms and WooCommerce.
A field that another plugin has already enhanced with its own international phone library is left as it is.
No setup needed
With no settings saved, the field behaves exactly as it did before you installed the plugin, then adds flags, dial codes and validation. Everything (CSS, JavaScript, flags, country data) is bundled with the plugin: no CDN and no external requests are needed. The only outside request is an optional IP-based country guess you can turn off; see Privacy.
Add a phone field yourself
To add a standalone phone field to any page or post, use the [intelebox_input] shortcode:
[intelebox_input name="mobile" id="mobile" placeholder="Enter phone number" class="my-phone-field" required="true"]
See The [intelebox_input] shortcode for every attribute.
Tune it (optional)
Open Phone Box in the WordPress admin to configure:
- Phone Box → Countries: which countries are offered, the initial and fallback country, preferred countries, IP detection, and the WooCommerce section. See Phone Box → Countries.
- Phone Box → Appearance: how the country box looks and sits, with a live preview. See Phone Box → Appearance.
- WooCommerce: phone validation at checkout. See WooCommerce.
Countries and Appearance save separately. Save changes saves; Reset to defaults restores defaults.
Requirements
| Requirement | Version |
|---|---|
| WordPress | 5.0+, tested up to 7.1 |
| PHP | 7.4+ |
| Server-side validation | PHP 8.1+ (older PHP keeps browser validation) |
| WooCommerce | Optional, tested up to 11.3 |
| Checkout block server validation | WooCommerce 9.9+ |
| License | GPLv2 or later |
| Price | Free |
Latest version: 1.5.0. Built on intl-tel-input 29.5.12 and libphonenumber.