Contact Form 7 addon to create a new type of input for entering country code…
| Author: | MageINIC (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.1.1 |
| Plugin version: | 1.0.4 |
| Added to WordPress repository: | 28-12-2022 |
| Last updated: | 10-01-2023
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | # |
| Total downloads: | 2 281 |
| Active installs: | 200+ |
![]() Click to start download |
|
Contact Form 7 addon to create a new type of input for entering country code with flag. It adds a country code with flag dropdown, auto detects the user’s country.
How to use
Once you have installed and activated your plugin, a new type of input field will be available in your Contact Form 7 forms. In order to add it to your form, you can either click on the “Tel with country code” button above your form editor, or add the shortcode like: [country_code* {your-phone}]. Replace {your-phone} by the name do you want to give the field. Optionally, you can use the asterisk (*) to makes the field required.
To display the field’s info on your email, use this tag: [{your-phone}]. It will display something like +12025550109
Third-party software
In this plugin we uses the International Telephone Input JavaScript library and the eXTReMe-IP-LOOKUP.com API.
